Commit:     382e6e256b0cb1a84a45a520cef75d1b8ff44663
Parent:     bb3b0e3df5420fdf2c6bbb4417525c6d2ef55bbb
Author:     Steven Whitehouse <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 16 17:08:20 2007 +0100
Committer:  Steven Whitehouse <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 08:55:32 2007 +0100

    [GFS2] Add a missing gfs2_trans_add_bh()
    This was missing from the dir_split_leaf() function although in
    most cases its not a problem due to other functions having
    already previously called gfs2_trans_add_bh. This makes certain
    that it is correct.
    Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]>
    Cc: Wendy Cheng <[EMAIL PROTECTED]>
 fs/gfs2/dir.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c
index 2beb2f4..08c6dd0 100644
--- a/fs/gfs2/dir.c
+++ b/fs/gfs2/dir.c
@@ -1043,6 +1043,7 @@ static int dir_split_leaf(struct inode *inode, const 
struct qstr *name)
        error = gfs2_meta_inode_buffer(dip, &dibh);
        if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) {
+               gfs2_trans_add_bh(dip->i_gl, dibh, 1);
                gfs2_dinode_out(dip, dibh->b_data);
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