Re: [PATCH] btrfs:make close_ctree() return void

2011-08-22 Thread Li Zefan
Wanlong Gao wrote: > From: Wanlong Gao > > Make close_ctree() return void since it always return 0, and fix > the return value of btrfs_put_super() to consistent with VFS. > I don't quite like this patch. We do have some failure cases in close_ctree(), but this doesn't fix that while have the F

[PATCH] btrfs:make close_ctree() return void

2011-08-22 Thread Wanlong Gao
From: Wanlong Gao Make close_ctree() return void since it always return 0, and fix the return value of btrfs_put_super() to consistent with VFS. Signed-off-by: Wanlong Gao --- fs/btrfs/disk-io.c |4 +--- fs/btrfs/disk-io.h |2 +- fs/btrfs/super.c |5 + 3 files changed, 3 inse