]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: drop local copy of inode i_mode
authorAnand Jain <anand.jain@oracle.com>
Sat, 20 Apr 2019 11:48:57 +0000 (19:48 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:53 +0000 (19:02 +0200)
commitef3a0ae671955d64c06a04d4730de617dcd5e499
treea227e5d531d4bae47e3b8dd0505890add47368d3
parent847bbbb57b8f41028eef5aa93c1c380b7cde7673
btrfs: drop local copy of inode i_mode

There isn't real use of making struct inode::i_mode a local copy, it
saves a dereference one time, not much. Just use 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