diff options
Diffstat (limited to 'fs/gfs2/eattr.c')
-rw-r--r-- | fs/gfs2/eattr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/gfs2/eattr.c b/fs/gfs2/eattr.c index 518f0c0786c8..9b7bb565b59d 100644 --- a/fs/gfs2/eattr.c +++ b/fs/gfs2/eattr.c | |||
@@ -302,7 +302,7 @@ static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, | |||
302 | if (!error) { | 302 | if (!error) { |
303 | ip->i_di.di_ctime = get_seconds(); | 303 | ip->i_di.di_ctime = get_seconds(); |
304 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 304 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
305 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 305 | gfs2_dinode_out(ip, dibh->b_data); |
306 | brelse(dibh); | 306 | brelse(dibh); |
307 | } | 307 | } |
308 | 308 | ||
@@ -717,7 +717,7 @@ static int ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er, | |||
717 | } | 717 | } |
718 | ip->i_di.di_ctime = get_seconds(); | 718 | ip->i_di.di_ctime = get_seconds(); |
719 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 719 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
720 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 720 | gfs2_dinode_out(ip, dibh->b_data); |
721 | brelse(dibh); | 721 | brelse(dibh); |
722 | } | 722 | } |
723 | 723 | ||
@@ -852,7 +852,7 @@ static int ea_set_simple_noalloc(struct gfs2_inode *ip, struct buffer_head *bh, | |||
852 | } | 852 | } |
853 | ip->i_di.di_ctime = get_seconds(); | 853 | ip->i_di.di_ctime = get_seconds(); |
854 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 854 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
855 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 855 | gfs2_dinode_out(ip, dibh->b_data); |
856 | brelse(dibh); | 856 | brelse(dibh); |
857 | out: | 857 | out: |
858 | gfs2_trans_end(GFS2_SB(&ip->i_inode)); | 858 | gfs2_trans_end(GFS2_SB(&ip->i_inode)); |
@@ -1132,7 +1132,7 @@ static int ea_remove_stuffed(struct gfs2_inode *ip, struct gfs2_ea_location *el) | |||
1132 | if (!error) { | 1132 | if (!error) { |
1133 | ip->i_di.di_ctime = get_seconds(); | 1133 | ip->i_di.di_ctime = get_seconds(); |
1134 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 1134 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
1135 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 1135 | gfs2_dinode_out(ip, dibh->b_data); |
1136 | brelse(dibh); | 1136 | brelse(dibh); |
1137 | } | 1137 | } |
1138 | 1138 | ||
@@ -1287,7 +1287,7 @@ int gfs2_ea_acl_chmod(struct gfs2_inode *ip, struct gfs2_ea_location *el, | |||
1287 | gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); | 1287 | gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); |
1288 | gfs2_inode_attr_out(ip); | 1288 | gfs2_inode_attr_out(ip); |
1289 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 1289 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
1290 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 1290 | gfs2_dinode_out(ip, dibh->b_data); |
1291 | brelse(dibh); | 1291 | brelse(dibh); |
1292 | } | 1292 | } |
1293 | 1293 | ||
@@ -1397,7 +1397,7 @@ static int ea_dealloc_indirect(struct gfs2_inode *ip) | |||
1397 | error = gfs2_meta_inode_buffer(ip, &dibh); | 1397 | error = gfs2_meta_inode_buffer(ip, &dibh); |
1398 | if (!error) { | 1398 | if (!error) { |
1399 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 1399 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
1400 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 1400 | gfs2_dinode_out(ip, dibh->b_data); |
1401 | brelse(dibh); | 1401 | brelse(dibh); |
1402 | } | 1402 | } |
1403 | 1403 | ||
@@ -1446,7 +1446,7 @@ static int ea_dealloc_block(struct gfs2_inode *ip) | |||
1446 | error = gfs2_meta_inode_buffer(ip, &dibh); | 1446 | error = gfs2_meta_inode_buffer(ip, &dibh); |
1447 | if (!error) { | 1447 | if (!error) { |
1448 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 1448 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
1449 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 1449 | gfs2_dinode_out(ip, dibh->b_data); |
1450 | brelse(dibh); | 1450 | brelse(dibh); |
1451 | } | 1451 | } |
1452 | 1452 | ||