diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 04ee1b57c243f01a54e59f4405e282e7c633d575..b563351753f1963932b943ff961472af453be2af 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c @@ -2216,7 +2216,7 @@ static int ocfs2_prep_new_orphaned_file(struct inode *dir, brelse(orphan_dir_bh); - return 0; + return ret; } int ocfs2_create_inode_in_orphan(struct inode *dir,