search for: out_dis

Displaying 1 result from an estimated 1 matches for "out_dis".

Did you mean: out_dir
2009 Oct 22
0
[PATCH] indexed-dirs: fix brelse order in ocfs2_find_entry_dx()
In ocfs2_find_entry_dx(), if ocfs2_read_inode_block() failed, both di_bh and dx_root_bh are both released. In this case, for dx_root_bh, it's unnecessary (even buggy if refcount of dx_root_bh is non-zero). This patch fixes this issue by change brelse order of di_bh and dx_root_bh. Signed-off-by: Coly Li <coly.li at suse.de> --- fs/ocfs2/dir.c | 5 +++-- 1 files changed, 3