|
@@ -780,6 +780,8 @@ static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh,
|
|
metadata = (height != ip->i_height - 1);
|
|
metadata = (height != ip->i_height - 1);
|
|
if (metadata)
|
|
if (metadata)
|
|
revokes = (height) ? sdp->sd_inptrs : sdp->sd_diptrs;
|
|
revokes = (height) ? sdp->sd_inptrs : sdp->sd_diptrs;
|
|
|
|
+ else if (ip->i_depth)
|
|
|
|
+ revokes = sdp->sd_inptrs;
|
|
|
|
|
|
if (ip != GFS2_I(sdp->sd_rindex))
|
|
if (ip != GFS2_I(sdp->sd_rindex))
|
|
error = gfs2_rindex_hold(sdp, &ip->i_alloc->al_ri_gh);
|
|
error = gfs2_rindex_hold(sdp, &ip->i_alloc->al_ri_gh);
|