Whamcloud - gitweb
tune2fs: allow disabling casefold feature
authorSlava Bacherikov <slava@bacher09.org>
Fri, 8 Jul 2022 12:26:58 +0000 (15:26 +0300)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 13 Aug 2022 02:38:35 +0000 (22:38 -0400)
commit47f9c3c00bbfdef4a64f400d1c95d9140aab3199
tree58184fa41855749b23b430c512a48bbafe3d2e39
parentd05a33bd3e255d8d279b3399eadccbcaeb3613a5
tune2fs: allow disabling casefold feature

Casefold can be safely disabled if there are no directories with +F
attribute ( EXT4_CASEFOLD_FL ). This checks all inodes for that flag and in
case there isn't any, it disables casefold FS feature. When FS has
directories with +F attributes, user could convert these directories,
probably by mounting FS and executing some script or by doing it
manually. Afterwards, it would be possible to disable casefold FS flag
via tune2fs.

Link: https://lore.kernel.org/r/20220708122658.17907-1-slava@bacher09.org
Signed-off-by: Slava Bacherikov <slava@bacher09.org>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.8.in
misc/tune2fs.c