diff options
author | Abhijith Das <adas@redhat.com> | 2008-03-06 23:43:52 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 09:41:30 (GMT) |
commit | 20b95bf2c4c5c28e093aa42699e67829b6cd7fd0 (patch) | |
tree | e611fb6ee336f37609a5881a0846ffdf80bf58dc /fs/gfs2/ops_address.c | |
parent | 182fe5abd8ebbb3a00c1be91f44e4783e139918c (diff) | |
download | linux-20b95bf2c4c5c28e093aa42699e67829b6cd7fd0.tar.xz |
[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 2483d87..e72fd47 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c @@ -21,7 +21,6 @@ #include <linux/gfs2_ondisk.h> #include <linux/lm_interface.h> #include <linux/backing-dev.h> -#include <linux/pagevec.h> #include "gfs2.h" #include "incore.h" @@ -278,7 +277,7 @@ static int gfs2_write_jdata_pagevec(struct address_space *mapping, int i; int ret; - ret = gfs2_trans_begin(sdp, nrblocks, 0); + ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); if (ret < 0) return ret; |