diff options
author | Anand Jain <[email protected]> | 2019-04-20 19:48:54 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2019-04-29 19:02:53 +0200 |
commit | 11d3cd5c625892a17297d5256e4758f007d582d5 (patch) | |
tree | 210369a56e4c091e20190f354a32d634502d8614 /fs/btrfs/dev-replace.c | |
parent | ff9fef559babe4376dd698ceec3d73d0362e48a0 (diff) |
btrfs: drop useless inode i_flags copy and restore
The patch ("btrfs: start transaction in btrfs_ioctl_setflags()") used
btrfs_set_prop() instead of btrfs_set_prop_trans() by which now the
inode::i_flags update functions such as
btrfs_sync_inode_flags_to_i_flags() and btrfs_update_inode() is called
in btrfs_ioctl_setflags() instead of
btrfs_set_prop_trans()->btrfs_setxattr() as earlier. So the
inode::i_flags remains unmodified until the thread has checked all the
conditions. So drop the saved inode::i_flags in out_i_flags.
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions