diff options
Diffstat (limited to 'fs/gfs2/xattr.c')
-rw-r--r-- | fs/gfs2/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/xattr.c b/fs/gfs2/xattr.c index e9636591b5d5..2e5ba425cae7 100644 --- a/fs/gfs2/xattr.c +++ b/fs/gfs2/xattr.c | |||
@@ -251,7 +251,7 @@ static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, | |||
251 | if (!blks) | 251 | if (!blks) |
252 | return 0; | 252 | return 0; |
253 | 253 | ||
254 | rgd = gfs2_blk2rgrpd(sdp, bn); | 254 | rgd = gfs2_blk2rgrpd(sdp, bn, 1); |
255 | if (!rgd) { | 255 | if (!rgd) { |
256 | gfs2_consist_inode(ip); | 256 | gfs2_consist_inode(ip); |
257 | return -EIO; | 257 | return -EIO; |
@@ -1439,7 +1439,7 @@ static int ea_dealloc_block(struct gfs2_inode *ip) | |||
1439 | struct gfs2_holder gh; | 1439 | struct gfs2_holder gh; |
1440 | int error; | 1440 | int error; |
1441 | 1441 | ||
1442 | rgd = gfs2_blk2rgrpd(sdp, ip->i_eattr); | 1442 | rgd = gfs2_blk2rgrpd(sdp, ip->i_eattr, 1); |
1443 | if (!rgd) { | 1443 | if (!rgd) { |
1444 | gfs2_consist_inode(ip); | 1444 | gfs2_consist_inode(ip); |
1445 | return -EIO; | 1445 | return -EIO; |