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 Reviewed-by: Qu Wenruo Thanks for the review. BTW, did you check btrfs

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 Reviewed-by: Qu Wenruo BTW, did you check btrfs-progs for the such cleanup? Thanks, Qu --- fs/btrfs/dev-re

[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 --- fs/btrfs/dev-replace.c | 3 +-- fs/btrfs/inode.c | 3 +-- fs/btrfs/tree-defrag.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/f