aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2013-06-08 08:25:28 -0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-06-13 20:04:26 -0400
commit6a3e8ef0de1e548d1cf9bcf51d9b7b6f4141fec5 (patch)
tree5774427ba7ff6d8a0400d7e94fde846a71551f84 /fs
parent699489bbbea4fc3b9b735d69941cf4fca91ce1d5 (diff)
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')
-rw-r--r--fs/f2fs/file.c4
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)
575 int ret; 575 int ret;
576 576
577 switch (cmd) { 577 switch (cmd) {
578 case FS_IOC_GETFLAGS: 578 case F2FS_IOC_GETFLAGS:
579 flags = fi->i_flags & FS_FL_USER_VISIBLE; 579 flags = fi->i_flags & FS_FL_USER_VISIBLE;
580 return put_user(flags, (int __user *) arg); 580 return put_user(flags, (int __user *) arg);
581 case FS_IOC_SETFLAGS: 581 case F2FS_IOC_SETFLAGS:
582 { 582 {
583 unsigned int oldflags; 583 unsigned int oldflags;
584 584