X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Focfs2%2Ffile.c;h=25e36fbd7bc37afd6020a091bbda6cd23d112e96;hb=a9f5f70739363ccca2e771c274c4f015c5fb7a88;hp=f2cd3bf9efb2f6b2dff8b44c44592355e2b44a6e;hpb=bebe6f120b036349f7212205eeaf8248d4820c4b;p=linux-2.6 diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index f2cd3bf9ef..25e36fbd7b 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -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; }