f2fs: expose features to sysfs entry
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 22 Jul 2017 00:14:09 +0000 (17:14 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 4 Aug 2017 02:09:51 +0000 (19:09 -0700)
commitbf9e697ecd4214c86ff35764449348db45c697b1
treef8eb480b8799e12e01902361ee8f23a470f91db1
parent704956ecf5bcdc14d14650f39f2b545b34c96265
f2fs: expose features to sysfs entry

This patch exposes what features are supported by current f2fs build to sysfs
entry via:

/sys/fs/f2fs/features/
/sys/fs/f2fs/dev/features

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c