aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-12-14 18:29:25 -0500
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-28 19:37:20 -0500
commit0333394bff439c3fb09264303de42e7038b3e709 (patch)
treec42710ccdbfa6e218fdf1bd880471682b2ed19d3 /fs
parent3bf8ba38f38d3647368e4edcf7d019f9f8d9184a (diff)
ocfs2: don't print error in ocfs2_permission()
Errors from generic_permission() can happen in valid cases and shouldn't be reported. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 9fd590b9bde3..a50447d461e5 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -966,8 +966,6 @@ int ocfs2_permission(struct inode *inode, int mask, struct nameidata *nd)
966 } 966 }
967 967
968 ret = generic_permission(inode, mask, NULL); 968 ret = generic_permission(inode, mask, NULL);
969 if (ret)
970 mlog_errno(ret);
971 969
972 ocfs2_meta_unlock(inode, 0); 970 ocfs2_meta_unlock(inode, 0);
973out: 971out: