Commit:     a46043e08f300982c51df317e2f8fb919dedadcd
Parent:     ef9f86ceb63f2803c9aada249986b84d2f99c635
Author:     Mark Fasheh <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 19 18:40:16 2007 -0800
Committer:  Mark Fasheh <[EMAIL PROTECTED]>
CommitDate: Tue Nov 27 16:47:02 2007 -0800

    ocfs2: log valid inode # on bad inode
    If the inode block isn't valid then we don't want to print the value from
    that, instead print the block number which was passed in (which should
    always be correct). Also, turn this into a debug print for now - folks who
    hit an actual problem always have other logs indicating what the source is.
    Signed-off-by: Mark Fasheh <[EMAIL PROTECTED]>
 fs/ocfs2/inode.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c
index 9e3e7df..ebb2bbe 100644
--- a/fs/ocfs2/inode.c
+++ b/fs/ocfs2/inode.c
@@ -455,8 +455,8 @@ static int ocfs2_read_locked_inode(struct inode *inode,
        status = -EINVAL;
        fe = (struct ocfs2_dinode *) bh->b_data;
        if (!OCFS2_IS_VALID_DINODE(fe)) {
-               mlog(ML_ERROR, "Invalid dinode #%llu: signature = %.*s\n",
-                    (unsigned long long)le64_to_cpu(fe->i_blkno), 7,
+               mlog(0, "Invalid dinode #%llu: signature = %.*s\n",
+                    (unsigned long long)args->fi_blkno, 7,
                goto bail;
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

Reply via email to