diff options
| author | Anand Jain <[email protected]> | 2019-04-02 18:07:41 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-04-29 19:02:35 +0200 |
| commit | 8b4d1efc9e6c326fe73a88d562c9d1c571493d32 (patch) | |
| tree | 8c4b4e1e0d8d2f094f31c497d6ca333034c91cca /tools/perf/scripts/python | |
| parent | ae0bc863106ae45b189986c76fda44f6885e8769 (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 <[email protected]>
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions