diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-06-08 14:25:28 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-06-14 02:04:26 +0200 |
commit | 6a3e8ef0de1e548d1cf9bcf51d9b7b6f4141fec5 (patch) | |
tree | 5774427ba7ff6d8a0400d7e94fde846a71551f84 /fs/f2fs | |
parent | f2fs: sync dir->i_size with its block allocation (diff) | |
download | linux-6a3e8ef0de1e548d1cf9bcf51d9b7b6f4141fec5.tar.xz linux-6a3e8ef0de1e548d1cf9bcf51d9b7b6f4141fec5.zip |
f2fs: use the F2FS specific flags in f2fs_ioctl()
In f2fs_ioctl() function, it is using generic flags.
Since F2FS specific flags are defined. So lets use
those flags.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 8d2fce9e7e41..85b665d176a2 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -575,10 +575,10 @@ long f2fs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) int ret; switch (cmd) { - case FS_IOC_GETFLAGS: + case F2FS_IOC_GETFLAGS: flags = fi->i_flags & FS_FL_USER_VISIBLE; return put_user(flags, (int __user *) arg); - case FS_IOC_SETFLAGS: + case F2FS_IOC_SETFLAGS: { unsigned int oldflags; |