aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/ioctl.c')
-rw-r--r--fs/ext2/ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext2/ioctl.c b/fs/ext2/ioctl.c
index 4b099d310712..e85c48218239 100644
--- a/fs/ext2/ioctl.c
+++ b/fs/ext2/ioctl.c
@@ -27,6 +27,7 @@ int ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
27 27
28 switch (cmd) { 28 switch (cmd) {
29 case EXT2_IOC_GETFLAGS: 29 case EXT2_IOC_GETFLAGS:
30 ext2_get_inode_flags(ei);
30 flags = ei->i_flags & EXT2_FL_USER_VISIBLE; 31 flags = ei->i_flags & EXT2_FL_USER_VISIBLE;
31 return put_user(flags, (int __user *) arg); 32 return put_user(flags, (int __user *) arg);
32 case EXT2_IOC_SETFLAGS: { 33 case EXT2_IOC_SETFLAGS: {