if return 0,  what's wrong with this?
On 2013/5/22 9:43, xiaowei...@oracle.com wrote:
> From: "Xiaowei.Hu"<xiaowei...@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,



_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to