These correct displaying support for casefolding only when that capability is present, and advertise if encryption and casefolding are supported together. Casefolding requires CONFIG_UNICODE, and casefolding with encryption wasn't supported until commit 7ad08a58bf67 ("f2fs: Handle casefolding with Encryption") Changes for v2: Added comments to double #endif's, added Fixes and Cc tags Daniel Rosenberg (2): f2fs: Show casefolding support only when supported f2fs: Advertise encrypted casefolding in sysfs fs/f2fs/sysfs.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) -- 2.32.0.rc0.204.g9fa02ecfa5-goog