commit | 3c1d41844896f59ac771daf146a5329525dc87c5 | [log] [tgz] |
---|---|---|
author | Su Yue <suy.fnst@cn.fujitsu.com> | Tue Jun 06 17:57:04 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Wed Jun 21 19:16:04 2017 +0200 |
tree | 21c1d3f1fa3f6c877c0ffe28231c89aa72ddc9d1 | |
parent | 8ee8c2d62d5f9e7d1e592426d3d0b941df29f688 [diff] |
btrfs: Check name_len in btrfs_check_ref_name_override In btrfs_log_inode, btrfs_search_forward gets the buffer and then btrfs_check_ref_name_override will read name from ref/extref for the first time. Call btrfs_is_name_len_valid before reading name. 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>