[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210611073111.947552-1-robinh3123@gmail.com>
Date: Fri, 11 Jun 2021 15:31:11 +0800
From: Robin Hsu <robinh3123@...il.com>
To: linux-f2fs-devel@...ts.sourceforge.net, jaegeuk@...nel.org,
chao@...nel.org
Cc: linux-kernel@...r.kernel.org, Robin Hsu <robinhsu@...gle.com>
Subject: [PATCH] sload.f2fs: Reword "IMMUTABLE" in strings/comments
From: Robin Hsu <robinhsu@...gle.com>
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@...gle.com>
---
fsck/main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fsck/main.c b/fsck/main.c
index c07be1e..c0b871b 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 F2FS_COMOPRESS_RELEASE */
c.compress.required = true;
c.compress.readonly = true;
break;
--
2.32.0.272.g935e593368-goog
Powered by blists - more mailing lists