diff options
Diffstat (limited to 'fs/gfs2/unlinked.c')
-rw-r--r-- | fs/gfs2/unlinked.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/unlinked.c b/fs/gfs2/unlinked.c index b8d836e3a5c0..405b91b0295d 100644 --- a/fs/gfs2/unlinked.c +++ b/fs/gfs2/unlinked.c | |||
@@ -25,7 +25,7 @@ | |||
25 | static int munge_ondisk(struct gfs2_sbd *sdp, unsigned int slot, | 25 | static int munge_ondisk(struct gfs2_sbd *sdp, unsigned int slot, |
26 | struct gfs2_unlinked_tag *ut) | 26 | struct gfs2_unlinked_tag *ut) |
27 | { | 27 | { |
28 | struct gfs2_inode *ip = sdp->sd_ut_inode; | 28 | struct gfs2_inode *ip = get_v2ip(sdp->sd_ut_inode); |
29 | unsigned int block, offset; | 29 | unsigned int block, offset; |
30 | uint64_t dblock; | 30 | uint64_t dblock; |
31 | int new = 0; | 31 | int new = 0; |
@@ -312,7 +312,7 @@ int gfs2_unlinked_dealloc(struct gfs2_sbd *sdp) | |||
312 | 312 | ||
313 | int gfs2_unlinked_init(struct gfs2_sbd *sdp) | 313 | int gfs2_unlinked_init(struct gfs2_sbd *sdp) |
314 | { | 314 | { |
315 | struct gfs2_inode *ip = sdp->sd_ut_inode; | 315 | struct gfs2_inode *ip = get_v2ip(sdp->sd_ut_inode); |
316 | unsigned int blocks = ip->i_di.di_size >> sdp->sd_sb.sb_bsize_shift; | 316 | unsigned int blocks = ip->i_di.di_size >> sdp->sd_sb.sb_bsize_shift; |
317 | unsigned int x, slot = 0; | 317 | unsigned int x, slot = 0; |
318 | unsigned int found = 0; | 318 | unsigned int found = 0; |