btrfs: drop old_fsflags in btrfs_ioctl_setflags
authorAnand Jain <anand.jain@oracle.com>
Sat, 20 Apr 2019 11:48:56 +0000 (19:48 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:53 +0000 (19:02 +0200)
commit3c8d8b635780c244aa44ad2d625e6308fbfb7ad4
tree7b8a5e21d336a53447472bab82e02fe899520baa
parentd2b8fcfe43155f23fa3e8148cdaa65345e3c45eb
btrfs: drop old_fsflags in btrfs_ioctl_setflags

btrfs_inode_flags_to_fsflags() is copied into @old_fsflags and used only
once. Instead used it directly.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c