aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2018-06-27 12:16:35 +0800
committerDavid Sterba <[email protected]>2018-08-06 13:12:40 +0200
commit7e35eab958e30d15743b1f9928d15b559a6e432d (patch)
tree30c1696236fb3b1707a026bcdae8213633f90bed /tools/perf/scripts/python
parentab3629ed86ec43e7d95cf087d0b5a9d403fcd822 (diff)
btrfs: replace empty string with NULL when getting attribute length in btrfs_get_acl
In btrfs_get_acl() the first call of btr_getxattr() is for getting the length of attribute, the value buffer is never used in this case. So it's better to replace empty string with NULL. Signed-off-by: Chengguang Xu <[email protected]> Reviewed-by: Nikolay Borisov <[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