Skip to content

Commit

Permalink
ocfs2: don't print error in ocfs2_permission()
Browse files Browse the repository at this point in the history
Errors from generic_permission() can happen in valid cases and shouldn't be
reported.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
  • Loading branch information
Mark Fasheh committed Dec 29, 2006
1 parent 3bf8ba3 commit 0333394
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0333394

Please sign in to comment.