]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: merge calls of btrfs_setxattr and btrfs_setxattr_trans in btrfs_set_prop
authorAnand Jain <anand.jain@oracle.com>
Sat, 20 Apr 2019 11:49:00 +0000 (19:49 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:54 +0000 (19:02 +0200)
commitbb4b6e3974f957a21ca424e92dec934a8c2bf894
tree64509d905a8e0c6f0c3c0b1cb56dd65664ec2708
parentabab3673016f562bbb7b7ed51993af31c6e4458e
btrfs: merge calls of btrfs_setxattr and btrfs_setxattr_trans in btrfs_set_prop

Since now the trans argument is never NULL in btrfs_set_prop we don't
have to check. So delete it and use btrfs_setxattr that makes use of
that.

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/props.c