summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2013-06-08 21:25:28 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:50 +0900
commit34d937cf16a876babd2c932683b9c51d2963c1a2 (patch)
tree673185bafc609cc826ee2d81e132438d0fc3d91b /fs
parenta51b24c68b2182e4c7ad525108f17d6d903bd2c7 (diff)
downloadlinux-3.10-34d937cf16a876babd2c932683b9c51d2963c1a2.tar.gz
linux-3.10-34d937cf16a876babd2c932683b9c51d2963c1a2.tar.bz2
linux-3.10-34d937cf16a876babd2c932683b9c51d2963c1a2.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')
-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 8d2fce9e7e4..85b665d176a 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;