summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-04-02 18:07:41 +0800
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:35 +0200
commit8b4d1efc9e6c326fe73a88d562c9d1c571493d32 (patch)
tree8c4b4e1e0d8d2f094f31c497d6ca333034c91cca /tools/perf/scripts/python
parentae0bc863106ae45b189986c76fda44f6885e8769 (diff)
btrfs: prop: open code btrfs_set_prop in inherit_prop
When an inode inherits property from its parent, we call btrfs_set_prop(). btrfs_set_prop() does an elaborate checks, which is not required in the context of inheriting a property. Instead just open-code only the required items from btrfs_set_prop() and then call btrfs_setxattr() directly. So now the only user of btrfs_set_prop() is gone, (except for the wraper function btrfs_set_prop_trans()). Reviewed-by: Nikolay Borisov <nborisov@suse.com> 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions