Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0333394bff439c3fb09264303de42e7038b3e709
Commit:     0333394bff439c3fb09264303de42e7038b3e709
Parent:     3bf8ba38f38d3647368e4edcf7d019f9f8d9184a
Author:     Mark Fasheh <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 14 15:29:25 2006 -0800
Committer:  Mark Fasheh <[EMAIL PROTECTED]>
CommitDate: Thu Dec 28 16:37:20 2006 -0800

    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 <[EMAIL PROTECTED]>
---
 fs/ocfs2/file.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 9fd590b..a50447d 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:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to