summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-06-27 12:16:34 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:40 +0200
commitab3629ed86ec43e7d95cf087d0b5a9d403fcd822 (patch)
tree45fb7a3623160b31e26cfd7e5732226404641aee /init
parentaf431dcb249ffff20b16e08adaa4b624405a046b (diff)
downloadlinux-ab3629ed86ec43e7d95cf087d0b5a9d403fcd822.tar.gz
linux-ab3629ed86ec43e7d95cf087d0b5a9d403fcd822.tar.bz2
linux-ab3629ed86ec43e7d95cf087d0b5a9d403fcd822.zip
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 <cgxu519@gmx.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions