diff options
author | Anand Jain <anand.jain@oracle.com> | 2019-04-20 19:48:59 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:54 +0200 |
commit | 717ebdc3205ab118dd041199072ec686a3fac7ee (patch) | |
tree | 598fabf3ebebed20422f534a1d6267ca66a1ec27 /fs/btrfs | |
parent | b3f6a4be1333eb888f9ad1ca16548fbeb05a8732 (diff) | |
download | lwn-717ebdc3205ab118dd041199072ec686a3fac7ee.tar.gz lwn-717ebdc3205ab118dd041199072ec686a3fac7ee.zip |
btrfs: delete unused function btrfs_set_prop_trans
The last consumer of btrfs_set_prop_trans() was taken away by the patch
("btrfs: start transaction in xattr_handler_set_prop") so now this
function can be deleted.
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')
-rw-r--r-- | fs/btrfs/props.c | 6 | ||||
-rw-r--r-- | fs/btrfs/props.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c index aedf5a7d69c9..c41ed2a6347e 100644 --- a/fs/btrfs/props.c +++ b/fs/btrfs/props.c @@ -124,12 +124,6 @@ int btrfs_set_prop(struct btrfs_trans_handle *trans, struct inode *inode, return 0; } -int btrfs_set_prop_trans(struct inode *inode, const char *name, - const char *value, size_t value_len, int flags) -{ - return btrfs_set_prop(NULL, inode, name, value, value_len, flags); -} - static int iterate_object_props(struct btrfs_root *root, struct btrfs_path *path, u64 objectid, diff --git a/fs/btrfs/props.h b/fs/btrfs/props.h index 30b99348977d..40b2c65b518c 100644 --- a/fs/btrfs/props.h +++ b/fs/btrfs/props.h @@ -10,8 +10,6 @@ void __init btrfs_props_init(void); -int btrfs_set_prop_trans(struct inode *inode, const char *name, - const char *value, size_t value_len, int flags); int btrfs_set_prop(struct btrfs_trans_handle *trans, struct inode *inode, const char *name, const char *value, size_t value_len, int flags); |