Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / fs / ocfs2 / namei.c
index c975eed..f4d609b 100644 (file)
@@ -968,7 +968,7 @@ leave:
        ocfs2_free_dir_lookup_result(&orphan_insert);
        ocfs2_free_dir_lookup_result(&lookup);
 
-       if (status && (status != -ENOTEMPTY))
+       if (status && (status != -ENOTEMPTY) && (status != -ENOENT))
                mlog_errno(status);
 
        return status;