[GFS2] Add an additional argument to gfs2_trans_add_bh()
[deliverable/linux.git] / fs / gfs2 / ops_inode.c
index d0f90b88380c0bbbe5183c3a6001e57831a896ca..89417a6cb72369fa6ce2ccf8d843e4d449af4caa 100644 (file)
@@ -839,7 +839,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
                if (error)
                        goto out_end_trans;
                ip->i_di.di_ctime = get_seconds();
-               gfs2_trans_add_bh(ip->i_gl, dibh);
+               gfs2_trans_add_bh(ip->i_gl, dibh, 1);
                gfs2_dinode_out(&ip->i_di, dibh->b_data);
                brelse(dibh);
        }
@@ -1043,7 +1043,7 @@ static int setattr_chown(struct inode *inode, struct iattr *attr)
        gfs2_assert_warn(sdp, !error);
        gfs2_inode_attr_out(ip);
 
-       gfs2_trans_add_bh(ip->i_gl, dibh);
+       gfs2_trans_add_bh(ip->i_gl, dibh, 1);
        gfs2_dinode_out(&ip->i_di, dibh->b_data);
        brelse(dibh);
 
This page took 0.028383 seconds and 5 git commands to generate.