projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf8ba3
)
ocfs2: don't print error in ocfs2_permission()
author
Mark Fasheh
<mark.fasheh@oracle.com>
Thu, 14 Dec 2006 23:29:25 +0000
(15:29 -0800)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Fri, 29 Dec 2006 00:37:20 +0000
(16:37 -0800)
Errors from generic_permission() can happen in valid cases and shouldn't be
reported.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/file.c
b/fs/ocfs2/file.c
index 9fd590b9bde3d69a403902cd60f228e92eea87f6..a50447d461e5deebcb0b36959ed50d5398422be1 100644
(file)
--- 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: