diff options
author | Jan Kara <jack@suse.cz> | 2017-04-11 17:33:50 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-19 15:21:23 +0300 |
commit | 420768d31960fd4398d4553e79cab8af3db2e9ee (patch) | |
tree | c43cb6b66b391124fa0d355d87d1ccd621a778a4 /fs/ext2/ioctl.c | |
parent | 38eae95ddc1964b42fc6d313a1bd17c43e3d08f1 (diff) | |
download | linux-420768d31960fd4398d4553e79cab8af3db2e9ee.tar.xz |
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.c | 1 |
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: { |