Commit 5e4da757 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs-tools: create sparse file first before stat



We must create a sparse file first before calling stat().

Fixes: eb9d8037 ("f2fs-tools: avoid mounting f2fs if tools already open the device")
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 2367b0e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment