diff options
author | David Sterba <dsterba@suse.com> | 2018-02-27 17:48:52 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 16:09:41 +0300 |
commit | 7852781d94b30096ca0f273aa776d2dbcca6d640 (patch) | |
tree | 01d65ab8b78368e9ccc87aaf7630142a99d82da4 /fs/btrfs/props.c | |
parent | ffa7c4296e93b25fc302c209ae488e57aad4c973 (diff) | |
download | linux-7852781d94b30096ca0f273aa776d2dbcca6d640.tar.xz |
btrfs: drop underscores from exported xattr functions
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/props.c')
-rw-r--r-- | fs/btrfs/props.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c index e4ac24175524..5859f7d3cf3e 100644 --- a/fs/btrfs/props.c +++ b/fs/btrfs/props.c @@ -116,7 +116,7 @@ static int __btrfs_set_prop(struct btrfs_trans_handle *trans, return -EINVAL; if (value_len == 0) { - ret = __btrfs_setxattr(trans, inode, handler->xattr_name, + ret = btrfs_setxattr(trans, inode, handler->xattr_name, NULL, 0, flags); if (ret) return ret; @@ -130,13 +130,13 @@ static int __btrfs_set_prop(struct btrfs_trans_handle *trans, ret = handler->validate(value, value_len); if (ret) return ret; - ret = __btrfs_setxattr(trans, inode, handler->xattr_name, + ret = btrfs_setxattr(trans, inode, handler->xattr_name, value, value_len, flags); if (ret) return ret; ret = handler->apply(inode, value, value_len); if (ret) { - __btrfs_setxattr(trans, inode, handler->xattr_name, + btrfs_setxattr(trans, inode, handler->xattr_name, NULL, 0, flags); return ret; } |