Re: [PATCH] btrfs: tree-log.c: Wrong printk information about namelen

2017-05-26 Thread David Sterba
On Wed, May 24, 2017 at 09:31:32AM +0800, Su Yue wrote: > In verify_dir_item, it wants to printk name_len of dir_item but > printk data_len acutally. Good catch, thanks. Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the

[PATCH] btrfs: tree-log.c: Wrong printk information about namelen

2017-05-23 Thread Su Yue
In verify_dir_item, it wants to printk name_len of dir_item but printk data_len acutally. Fix it by calling btrfs_dir_name_len instead of btrfs_dir_data_len. Signed-off-by: Su Yue --- fs/btrfs/dir-item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git