OSDN Git Service

f2fs: add ioctl to expose current features
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 21 Jul 2017 19:58:59 +0000 (12:58 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Sep 2017 21:02:55 +0000 (14:02 -0700)
commit68a6e4b9740c7e16636360a317c12d4ba870eb21
tree2d8d613f791eace1babf4810371a15f119a45786
parente088277a813b12d98f81f79da0c738b54974d56a
f2fs: add ioctl to expose current features

This patch adds an ioctl to provide feature information to user.
For exapmle, SQLite can use this ioctl to detect whether f2fs support atomic
write or not.

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