f2fs: use the F2FS sepcifice flags in f2fs_ioctl()
Subsystems (2)
PATCH 3/4 f2fs: use the F2FS sepcifice flags in f2fs_ioctl()
From: Namjae Jeon <[email protected]>
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 <[email protected]>
Signed-off-by Pankaj Kumar <[email protected]>
--- fs/f2fs/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/f2fs/file.c +2 -2
@@ -538,10 +538,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;
Signature · 9 lines
1.7.9.5 ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j