summaryrefslogtreecommitdiffstats
path: root/fs/ext2/ioctl.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-04-11 16:33:50 +0200
committerJan Kara <jack@suse.cz>2017-04-19 14:21:23 +0200
commit420768d31960fd4398d4553e79cab8af3db2e9ee (patch)
treec43cb6b66b391124fa0d355d87d1ccd621a778a4 /fs/ext2/ioctl.c
parentext4: Remove ext4_get_inode_flags() (diff)
downloadlinux-420768d31960fd4398d4553e79cab8af3db2e9ee.tar.xz
linux-420768d31960fd4398d4553e79cab8af3db2e9ee.zip
ext2: Remove ext2_get_inode_flags()
Now that all places setting inode->i_flags that should be reflected in on-disk flags are gone, we can remove ext2_get_inode_flags() call. Reviewed-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/ioctl.c')
-rw-r--r--fs/ext2/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext2/ioctl.c b/fs/ext2/ioctl.c
index 191e02b28ce8..087f122cca42 100644
--- a/fs/ext2/ioctl.c
+++ b/fs/ext2/ioctl.c
@@ -29,7 +29,6 @@ long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
switch (cmd) {
case EXT2_IOC_GETFLAGS:
- ext2_get_inode_flags(ei);
flags = ei->i_flags & EXT2_FL_USER_VISIBLE;
return put_user(flags, (int __user *) arg);
case EXT2_IOC_SETFLAGS: {