summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_imap.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-04-11 17:37:49 +0300
committerJan Kara <jack@suse.cz>2017-04-19 15:21:23 +0300
commit7ba4a2e8b85a211ab6a74c19d9188e70d0e866de (patch)
tree47388c87b44389dcf8ba4deee5c1cf080063cd9c /fs/jfs/jfs_imap.c
parent420768d31960fd4398d4553e79cab8af3db2e9ee (diff)
downloadlinux-7ba4a2e8b85a211ab6a74c19d9188e70d0e866de.tar.xz
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/jfs_imap.c')
-rw-r--r--fs/jfs/jfs_imap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jfs/jfs_imap.c b/fs/jfs/jfs_imap.c
index 6aca224a5d68..f36ef68905a7 100644
--- a/fs/jfs/jfs_imap.c
+++ b/fs/jfs/jfs_imap.c
@@ -3148,7 +3148,6 @@ static void copy_to_dinode(struct dinode * dip, struct inode *ip)
else
dip->di_gid = cpu_to_le32(from_kgid(&init_user_ns,
jfs_ip->saved_gid));
- jfs_get_inode_flags(jfs_ip);
/*
* mode2 is only needed for storing the higher order bits.
* Trust i_mode for the lower order ones