[Ocfs2-devel] [PATCH] ocfs2_prep_new_orphaned_file should return ret

xiaowei.hu at oracle.com xiaowei.hu at oracle.com
Tue May 21 18:43:16 PDT 2013


From: "Xiaowei.Hu" <xiaowei.hu at oracle.com>

---
 fs/ocfs2/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
index 50c93a8..422cbe0 100644
--- a/fs/ocfs2/namei.c
+++ b/fs/ocfs2/namei.c
@@ -2216,7 +2216,7 @@ out:
 
 	brelse(orphan_dir_bh);
 
-	return 0;
+	return ret;
 }
 
 int ocfs2_create_inode_in_orphan(struct inode *dir,
-- 
1.7.11.7




More information about the Ocfs2-devel mailing list