diff options
author | Jan Kara <jack@suse.cz> | 2017-04-11 16:37:49 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-19 14:21:23 +0200 |
commit | 7ba4a2e8b85a211ab6a74c19d9188e70d0e866de (patch) | |
tree | 47388c87b44389dcf8ba4deee5c1cf080063cd9c /fs/jfs/ioctl.c | |
parent | ext2: Remove ext2_get_inode_flags() (diff) | |
download | linux-7ba4a2e8b85a211ab6a74c19d9188e70d0e866de.tar.xz linux-7ba4a2e8b85a211ab6a74c19d9188e70d0e866de.zip |
jfs: Remove jfs_get_inode_flags()
Now that all places setting inode->i_flags that should be reflected in
on-disk flags are gone, we can remove jfs_get_inode_flags() call.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/jfs/ioctl.c')
-rw-r--r-- | fs/jfs/ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/jfs/ioctl.c b/fs/jfs/ioctl.c index fc89f9436784..5c5ac5b3aec3 100644 --- a/fs/jfs/ioctl.c +++ b/fs/jfs/ioctl.c @@ -64,7 +64,6 @@ long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) switch (cmd) { case JFS_IOC_GETFLAGS: - jfs_get_inode_flags(jfs_inode); flags = jfs_inode->mode2 & JFS_FL_USER_VISIBLE; flags = jfs_map_ext2(flags, 0); return put_user(flags, (int __user *) arg); @@ -98,7 +97,6 @@ long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) /* Lock against other parallel changes of flags */ inode_lock(inode); - jfs_get_inode_flags(jfs_inode); oldflags = jfs_inode->mode2; /* |