diff options
| author | Chengguang Xu <[email protected]> | 2018-06-27 12:16:34 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-08-06 13:12:40 +0200 |
| commit | ab3629ed86ec43e7d95cf087d0b5a9d403fcd822 (patch) | |
| tree | 45fb7a3623160b31e26cfd7e5732226404641aee /tools/perf/scripts/python | |
| parent | af431dcb249ffff20b16e08adaa4b624405a046b (diff) | |
btrfs: return error instead of crash when detecting unexpected type in btrfs_get_acl
The caller of btrfs_get_acl() checks error condition so there is no
impact from this change. In practice there is no chance to get into
default case of switch statement because VFS has already checked the
type.
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