Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=abb536e7ac8719243cfc4b40b39bf3eefd028f82
Commit:     abb536e7ac8719243cfc4b40b39bf3eefd028f82
Parent:     a2166b933ef9099b4fa6860b165e6dac553a97aa
Author:     Kyungmin Park <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 22 16:39:30 2006 +0900
Committer:  Artem Bityutskiy <[EMAIL PROTECTED]>
CommitDate: Wed Jan 10 14:03:20 2007 +0200

    [JFFS2] use the ref_offset macro
    
    Don't use ref->flash_offset directly in debugging code, use the ref_offset 
macro instead.
    
    Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]>
    Signed-off-by: Artem Bityutskiy <[EMAIL PROTECTED]>
---
 fs/jffs2/debug.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 72b4fc1..4189e4a 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -178,8 +178,8 @@ __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info 
*c,
        while (ref2) {
                uint32_t totlen = ref_totlen(c, jeb, ref2);
 
-               if (ref2->flash_offset < jeb->offset ||
-                               ref2->flash_offset > jeb->offset + 
c->sector_size) {
+               if (ref_offset(ref2) < jeb->offset ||
+                               ref_offset(ref2) > jeb->offset + 
c->sector_size) {
                        JFFS2_ERROR("node_ref %#08x shouldn't be in block at 
%#08x.\n",
                                ref_offset(ref2), jeb->offset);
                        goto error;
-
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