Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=773ed1a044adc868036dee1722b8bca6ce5923e2
Commit:     773ed1a044adc868036dee1722b8bca6ce5923e2
Parent:     eaf5bd3cac92126e5825c6ebc10bee0fba35d555
Author:     Robert Peterson <[EMAIL PROTECTED]>
AuthorDate: Wed Jun 20 08:34:06 2007 -0500
Committer:  Steven Whitehouse <[EMAIL PROTECTED]>
CommitDate: Mon Jul 9 08:23:52 2007 +0100

    [GFS2] Addendum to the journaled file/unmount patch
    
    This patch is an addendum to the previous journaled file/unmount patch.
    It fixes a problem discovered during testing.
    
    Signed-off-by: Bob Peterson <[EMAIL PROTECTED]>
    Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]>
---
 fs/gfs2/lops.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index dd810ad..aff70f0 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -472,8 +472,10 @@ static void databuf_lo_add(struct gfs2_sbd *sdp, struct 
gfs2_log_element *le)
                return;
        }
        tr->tr_touched = 1;
-       tr->tr_num_buf++;
-       list_add(&bd->bd_list_tr, &tr->tr_list_buf);
+       if (gfs2_is_jdata(ip)) {
+               tr->tr_num_buf++;
+               list_add(&bd->bd_list_tr, &tr->tr_list_buf);
+       }
        gfs2_log_unlock(sdp);
        if (!list_empty(&le->le_list))
                return;
-
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