diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-04-16 11:46:31 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-04-28 06:25:58 -0700 |
commit | b9aca4663929e445f82cfea22d991b925091ad0a (patch) | |
tree | 920d21936c07fbf33d92f92682472f69dc42e348 /include/f2fs_fs.h | |
parent | 264d7da4d68bc6a399a24e690b0f118e59a63aec (diff) | |
download | f2fs-tools-b9aca4663929e445f82cfea22d991b925091ad0a.tar.gz |
fsck.f2fs: open ro disk if we want to check fs only
This patch fixes the "open failure" issue on ro disk, reported by Hagbard.
"
If I boot with kernel option "ro rootfstype=f2fs
I get the following halfway trough boot:
* Checking local filesystems ...
Info: Use default preen mode
Info: Mounted device!
Info: Check FS only due to RO
Error: Failed to open the device!
* Filesystems couldn't be fixed
"
Reported-by: Hagbard Celine <hagbardcelin@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/f2fs_fs.h')
0 files changed, 0 insertions, 0 deletions