Re: [PATCH] Btrfs: cleanup: remove unnecessary check before btrfs_free_path is called

2015-08-19 Thread Qu Wenruo
Tsutomu Itoh wrote on 2015/08/19 14:55 +0900: We need not check path before btrfs_free_path() is called because path is checked in btrfs_free_path(). Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com Reviewed-by: Qu Wenruo quwen...@cn.fujitsu.com BTW, did you check btrfs-progs for the such

Re: [PATCH] Btrfs: cleanup: remove unnecessary check before btrfs_free_path is called

2015-08-19 Thread Tsutomu Itoh
On 2015/08/19 16:34, Qu Wenruo wrote: Tsutomu Itoh wrote on 2015/08/19 14:55 +0900: We need not check path before btrfs_free_path() is called because path is checked in btrfs_free_path(). Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com Reviewed-by: Qu Wenruo quwen...@cn.fujitsu.com

[PATCH] Btrfs: cleanup: remove unnecessary check before btrfs_free_path is called

2015-08-18 Thread Tsutomu Itoh
We need not check path before btrfs_free_path() is called because path is checked in btrfs_free_path(). Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com --- fs/btrfs/dev-replace.c | 3 +-- fs/btrfs/inode.c | 3 +-- fs/btrfs/tree-defrag.c | 3 +-- 3 files changed, 3 insertions(+), 6