Remove unecessary ERROR when removing non-empty directory
PATCH 1/1 Remove unecessary ERROR when removing non-empty directory
From: "Xiaowei.Hu" <[email protected]>
Suppress the error message from being printed in ocfs2_rename Did same thing with Goldwyn Rodrigues last patch.
While removing a non-empty directory, the kernel dumps a message:
(mv,29521,1):ocfs2_rename:1474 ERROR: status = -39
Signed-off-by Xiaowei Hu <[email protected]>
--- fs/ocfs2/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/namei.c +1 -1
@@ -1470,7 +1470,7 @@ bail:brelse (old_dir_bh);brelse (new_dir_bh); -if (status) +if (status && (status != -ENOTEMPTY ))mlog_errno (status);return status;
Signature · 1 line
1.7.11.7
PATCH 1/1 Remove unecessary ERROR when removing non-empty directory
Quoted 9 lines · xiaowei.hu at oracle.com
From: "Xiaowei.Hu" <[email protected]>
Suppress the error message from being printed in
ocfs2_renameDid same thing with Goldwyn Rodrigues last patch.While removing a non-empty directory, the kernel dumps a message:
(mv,29521,1):ocfs2_rename:1474 ERROR: status = -39Signed-off-by Xiaowei Hu <[email protected]>
Reviewed-by Jie Liu <[email protected]>
Quoted 18 lines
--- fs/ocfs2/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/ocfs2/namei.c +1
-1@@ -1470,7 +1470,7 @@ bail:brelse (old_dir_bh);brelse (new_dir_bh); -if (status) +if (status && (status != -ENOTEMPTY ))mlog_errno (status);return status;