diff options
author | Su Yue | 2017-06-06 17:57:07 +0800 |
---|---|---|
committer | David Sterba | 2017-06-21 19:16:04 +0200 |
commit | 64c7b01446f4f1cea3cc4be041001f415ebfdc61 (patch) | |
tree | 1a81584cc92f93ab11e157cc3db4baf671e78259 /samples | |
parent | 488d7c4566536b8807381bc54e559fd43decd26a (diff) |
btrfs: Check name_len before in btrfs_del_root_ref
btrfs_del_root_ref calls btrfs_search_slot and reads name from root_ref.
Call btrfs_is_name_len_valid before memcmp.
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions