aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/quota.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-10-02 11:38:25 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-10-02 11:38:25 -0400
commit2e565bb69ce2184eabf4f43e64afc79c46f46204 (patch)
tree187002dd39d29171c8909aa296992791c0765d79 /fs/gfs2/quota.c
parent128e5ebaf8abbda375bba82690b09630003c9213 (diff)
downloadkernel_samsung_crespo-2e565bb69ce2184eabf4f43e64afc79c46f46204.zip
kernel_samsung_crespo-2e565bb69ce2184eabf4f43e64afc79c46f46204.tar.gz
kernel_samsung_crespo-2e565bb69ce2184eabf4f43e64afc79c46f46204.tar.bz2
[GFS2] Mark metadata reads for blktrace
Mark the metadata reads so that blktrace knows what they are. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
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 c0a3c9a..c69b94a 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -43,6 +43,7 @@
#include <linux/buffer_head.h>
#include <linux/sort.h>
#include <linux/fs.h>
+#include <linux/bio.h>
#include <linux/gfs2_ondisk.h>
#include <linux/lm_interface.h>
@@ -609,7 +610,7 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc,
set_buffer_uptodate(bh);
if (!buffer_uptodate(bh)) {
- ll_rw_block(READ, 1, &bh);
+ ll_rw_block(READ_META, 1, &bh);
wait_on_buffer(bh);
if (!buffer_uptodate(bh))
goto unlock;