]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: modify local copy of btrfs_inode flags
authorAnand Jain <anand.jain@oracle.com>
Sat, 20 Apr 2019 11:48:55 +0000 (19:48 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:53 +0000 (19:02 +0200)
commitf6240e819ecbae7c3de5eb396fe9ab5227f61554
tree9502406b1a06258ad1ec3a04a374ef9911b98d50
parent34548d15caac5f40bf5e85eaafc20b0ea726ff9d
btrfs: modify local copy of btrfs_inode flags

Instead of updating the binode::flags directly, update a local copy, and
then at the point of no error, store copy it to the binode::flags.

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