aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/quota.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/quota.c')
-rw-r--r--fs/gfs2/quota.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
index c0a3c9a2a593..c69b94a55588 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -43,6 +43,7 @@
43#include <linux/buffer_head.h> 43#include <linux/buffer_head.h>
44#include <linux/sort.h> 44#include <linux/sort.h>
45#include <linux/fs.h> 45#include <linux/fs.h>
46#include <linux/bio.h>
46#include <linux/gfs2_ondisk.h> 47#include <linux/gfs2_ondisk.h>
47#include <linux/lm_interface.h> 48#include <linux/lm_interface.h>
48 49
@@ -609,7 +610,7 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc,
609 set_buffer_uptodate(bh); 610 set_buffer_uptodate(bh);
610 611
611 if (!buffer_uptodate(bh)) { 612 if (!buffer_uptodate(bh)) {
612 ll_rw_block(READ, 1, &bh); 613 ll_rw_block(READ_META, 1, &bh);
613 wait_on_buffer(bh); 614 wait_on_buffer(bh);
614 if (!buffer_uptodate(bh)) 615 if (!buffer_uptodate(bh))
615 goto unlock; 616 goto unlock;