aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Hsu <robinhsu@google.com>2021-06-11 15:31:11 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-06-22 08:09:57 -0700
commitf3b93bf5b8457a7aeab411afe9e112b7c9bb29bb (patch)
tree22fd530fe16cae4b254d2a57198b194c88d3c6ec
parent820b5e3723be20b776a36a635c0aff2c84fea6bb (diff)
downloadf2fs-tools-f3b93bf5b8457a7aeab411afe9e112b7c9bb29bb.tar.gz
sload.f2fs: Reword "IMMUTABLE" in strings/comments
Since the IMMUTABLE flag for compression is now changed to F2FS_COMPRESS_RELEASED, some 'IMMUTABLE' words should be changed too: 1. sload help page 2. inline comments Signed-off-by: Robin Hsu <robinhsu@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fsck/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fsck/main.c b/fsck/main.c
index c07be1e..b361698 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -149,7 +149,8 @@ void sload_usage()
MSG(0, " * -i or -x: use it many times for multiple extensions.\n");
MSG(0, " * -i and -x cannot be used together..\n");
MSG(0, " -m <num> min compressed blocks per cluster\n");
- MSG(0, " -r readonly (IMMUTABLE) for compressed files\n");
+ MSG(0, " -r read only (to release unused blocks) for compressed "
+ "files\n");
MSG(0, " ------------------------------------------------------\n");
MSG(0, " -d debug level [default:0]\n");
MSG(0, " -V print the version number and exit\n");
@@ -650,7 +651,7 @@ void f2fs_parse_options(int argc, char *argv[])
}
c.compress.min_blocks = val;
break;
- case 'r': /* compress file to set IMMUTABLE */
+ case 'r': /* for setting FI_COMPRESS_RELEASED */
c.compress.required = true;
c.compress.readonly = true;
break;