Commit 0333394b authored by Mark Fasheh's avatar Mark Fasheh

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: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 3bf8ba38
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment