projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GFS2: Reduce file fragmentation
[deliverable/linux.git]
/
fs
/
gfs2
/
bmap.c
diff --git
a/fs/gfs2/bmap.c
b/fs/gfs2/bmap.c
index 6d957a86482b6cbbbd062365de7cad90c8e40d3f..49cd7dd4a9fa882781fa895aff8c19401c170aad 100644
(file)
--- a/
fs/gfs2/bmap.c
+++ b/
fs/gfs2/bmap.c
@@
-785,6
+785,9
@@
static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh,
if (error)
goto out_rlist;
+ if (gfs2_rs_active(ip->i_res)) /* needs to be done with the rgrp glock held */
+ gfs2_rs_deltree(ip->i_res);
+
error = gfs2_trans_begin(sdp, rg_blocks + RES_DINODE +
RES_INDIRECT + RES_STATFS + RES_QUOTA,
revokes);
This page took
0.123449 seconds
and
5
git commands to generate.