* [f2fs-dev] [PATCH 3/4] f2fs: use the F2FS sepcifice flags in f2fs_ioctl()
@ 2013-06-08 12:25 Namjae Jeon
0 siblings, 0 replies; only message in thread
From: Namjae Jeon @ 2013-06-08 12:25 UTC (permalink / raw)
To: jaegeuk.kim
Cc: Namjae Jeon, Namjae Jeon, Pankaj Kumar, linux-kernel,
linux-fsdevel, linux-f2fs-devel
From: Namjae Jeon <namjae.jeon@samsung.com>
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>
---
fs/f2fs/file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 8dfc1da..6071ff5 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -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;
--
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-08 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-08 12:25 [f2fs-dev] [PATCH 3/4] f2fs: use the F2FS sepcifice flags in f2fs_ioctl() Namjae Jeon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).