From: Mark Fasheh Date: Thu, 14 Dec 2006 23:29:25 +0000 (-0800) Subject: ocfs2: don't print error in ocfs2_permission() X-Git-Tag: v2.6.20-rc3~6^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0333394bff439c3fb09264303de42e7038b3e709;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 9fd590b9bde..a50447d461e 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) } ret = generic_permission(inode, mask, NULL); - if (ret) - mlog_errno(ret); ocfs2_meta_unlock(inode, 0); out: