summaryrefslogtreecommitdiff
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-11-02 09:21:31 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2020-11-02 19:33:02 +0300
commitfa4320cefb8537a70cc28c55d311a1f569697cd3 (patch)
tree596c685e2223c8a86ac0c21bffb26e92664362da /fs/f2fs/file.c
parent7a6e59d719ef0ec9b3d765cba3ba98ee585cbde3 (diff)
downloadlinux-fa4320cefb8537a70cc28c55d311a1f569697cd3.tar.xz
f2fs: move ioctl interface definitions to separated file
Like other filesystem does, we introduce a new file f2fs.h in path of include/uapi/linux/, and move f2fs-specified ioctl interface definitions to that file, after then, in order to use those definitions, userspace developer only need to include the new header file rather than copy & paste definitions from fs/f2fs/f2fs.h. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r--fs/f2fs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index fe39e591e5b4..89c451f09344 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -31,6 +31,7 @@
#include "gc.h"
#include "trace.h"
#include <trace/events/f2fs.h>
+#include <uapi/linux/f2fs.h>
static vm_fault_t f2fs_filemap_fault(struct vm_fault *vmf)
{