Re: [PATCH 2/2] btrfs: Cleanup existing name_len checks

2017-11-07 Thread Qu Wenruo
On 2017年11月08日 04:56, David Sterba wrote: > On Wed, Nov 01, 2017 at 08:22:13PM +0800, Qu Wenruo wrote: >> Since tree-checker has verified leaf when reading from disk, we don't >> need the existing checker. >> >> This cleanup reverts the following commits: >> fbc326159a01 ("btrfs: Verify dir_item

Re: [PATCH 2/2] btrfs: Cleanup existing name_len checks

2017-11-07 Thread David Sterba
On Wed, Nov 01, 2017 at 08:22:13PM +0800, Qu Wenruo wrote: > Since tree-checker has verified leaf when reading from disk, we don't > need the existing checker. > > This cleanup reverts the following commits: > fbc326159a01 ("btrfs: Verify dir_item in iterate_object_props") > 64c7b01446f4 ("btrfs:

[PATCH 2/2] btrfs: Cleanup existing name_len checks

2017-11-01 Thread Qu Wenruo
Since tree-checker has verified leaf when reading from disk, we don't need the existing checker. This cleanup reverts the following commits: fbc326159a01 ("btrfs: Verify dir_item in iterate_object_props") 64c7b01446f4 ("btrfs: Check name_len before in btrfs_del_root_ref") 488d7c456653 ("btrfs:

[PATCH 2/2] btrfs: Cleanup existing name_len checks

2017-11-01 Thread Qu Wenruo
Since tree-checker has verified leaf when reading from disk, we don't need the existing checker. This cleanup reverts the following commits: fbc326159a01 ("btrfs: Verify dir_item in iterate_object_props") 64c7b01446f4 ("btrfs: Check name_len before in btrfs_del_root_ref") 488d7c456653 ("btrfs: