aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-11-22 10:53:07 +0800
committerGreg Wallace <greg@gregtwallace.com>2016-01-19 22:02:18 -0500
commit04d6106998b934a87ca9c51fffd233e2e9bb968d (patch)
treeb3c58a4ee9fddcfb2c5a4259dc5ef95e650eed49 /include
parentf9c29e73210212e7c041934ca0f97d80764d0554 (diff)
downloadandroid_external_f2fs-tools-04d6106998b934a87ca9c51fffd233e2e9bb968d.tar.gz
android_external_f2fs-tools-04d6106998b934a87ca9c51fffd233e2e9bb968d.tar.bz2
android_external_f2fs-tools-04d6106998b934a87ca9c51fffd233e2e9bb968d.zip
fsck.f2fs: support a readonly filesystem
If f2fs is mounted as ro, we can do fsck.f2fs. Change-Id: If20a055242824fd94110bcde12988ddc019a4011 Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/f2fs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h
index 4164af3..0efcb0b 100644
--- a/include/f2fs_fs.h
+++ b/include/f2fs_fs.h
@@ -275,6 +275,7 @@ struct f2fs_configuration {
int fix_on;
int bug_on;
int auto_fix;
+ int ro;
__le32 feature; /* defined features */
} __attribute__((packed));