diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-06-08 21:25:28 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-06-14 09:04:26 +0900 |
commit | 6a3e8ef0de1e548d1cf9bcf51d9b7b6f4141fec5 (patch) | |
tree | 5774427ba7ff6d8a0400d7e94fde846a71551f84 /fs/f2fs/file.c | |
parent | 699489bbbea4fc3b9b735d69941cf4fca91ce1d5 (diff) | |
download | blackbird-op-linux-6a3e8ef0de1e548d1cf9bcf51d9b7b6f4141fec5.tar.gz blackbird-op-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/file.c')
-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; |