summaryrefslogtreecommitdiff
path: root/fs/btrfs/props.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-04-20 14:48:58 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:54 +0300
commitb3f6a4be1333eb888f9ad1ca16548fbeb05a8732 (patch)
treeb3697b349746bdb650264f9827cc2780a3fa14a2 /fs/btrfs/props.c
parent44e5194b5ec1b179c59bb204a2448031ff917e02 (diff)
downloadlinux-b3f6a4be1333eb888f9ad1ca16548fbeb05a8732.tar.xz
btrfs: start transaction in xattr_handler_set_prop
btrfs specific extended attributes on the inode are set using btrfs_xattr_handler_set_prop(), and the required transaction for this update is started by btrfs_setxattr(). For better visibility of the transaction start and end, do this in btrfs_xattr_handler_set_prop(). For which this patch copied code of btrfs_setxattr() as it is in the original, which needs proper error handling. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/props.c')
0 files changed, 0 insertions, 0 deletions