diff options
author | Abhijith Das <adas@redhat.com> | 2008-03-06 18:43:52 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 05:41:30 -0400 |
commit | 20b95bf2c4c5c28e093aa42699e67829b6cd7fd0 (patch) | |
tree | e611fb6ee336f37609a5881a0846ffdf80bf58dc /fs/gfs2/ops_address.c | |
parent | 182fe5abd8ebbb3a00c1be91f44e4783e139918c (diff) |
[GFS2] gfs2_adjust_quota has broken unstuffing code
This patch combines the 2 patches in bug 434736 to correct the lock
ordering in the unstuffing of the quota inode in gfs2_adjust_quota and
adjusting the number of revokes in gfs2_write_jdata_pagevec
Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r-- | fs/gfs2/ops_address.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c index 2483d8741060..e72fd47d71eb 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/gfs2_ondisk.h> | 21 | #include <linux/gfs2_ondisk.h> |
22 | #include <linux/lm_interface.h> | 22 | #include <linux/lm_interface.h> |
23 | #include <linux/backing-dev.h> | 23 | #include <linux/backing-dev.h> |
24 | #include <linux/pagevec.h> | ||
25 | 24 | ||
26 | #include "gfs2.h" | 25 | #include "gfs2.h" |
27 | #include "incore.h" | 26 | #include "incore.h" |
@@ -278,7 +277,7 @@ static int gfs2_write_jdata_pagevec(struct address_space *mapping, | |||
278 | int i; | 277 | int i; |
279 | int ret; | 278 | int ret; |
280 | 279 | ||
281 | ret = gfs2_trans_begin(sdp, nrblocks, 0); | 280 | ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); |
282 | if (ret < 0) | 281 | if (ret < 0) |
283 | return ret; | 282 | return ret; |
284 | 283 | ||