]> err.no Git - linux-2.6/blobdiff - fs/ocfs2/file.c
ocfs2: filter more error prints
[linux-2.6] / fs / ocfs2 / file.c
index f2cd3bf9efb2f6b2dff8b44c44592355e2b44a6e..25e36fbd7bc37afd6020a091bbda6cd23d112e96 100644 (file)
@@ -972,7 +972,8 @@ int ocfs2_permission(struct inode *inode, int mask, struct nameidata *nd)
 
        ret = ocfs2_meta_lock(inode, NULL, 0);
        if (ret) {
-               mlog_errno(ret);
+               if (ret != -ENOENT)
+                       mlog_errno(ret);
                goto out;
        }