diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-23 01:41:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 20:29:42 +0200 |
commit | caa38fb0f481a3cb732b115cb59bfa6b59b6daaf (patch) | |
tree | c68f069f58748813e9195b6205936846aba2e43e /fs/ext3/inode.c | |
parent | 5404bc7a87b9949cf61e0174b21f80e73239ab25 (diff) | |
download | kernel_samsung_aries-caa38fb0f481a3cb732b115cb59bfa6b59b6daaf.zip kernel_samsung_aries-caa38fb0f481a3cb732b115cb59bfa6b59b6daaf.tar.gz kernel_samsung_aries-caa38fb0f481a3cb732b115cb59bfa6b59b6daaf.tar.bz2 |
[PATCH] ext3: make meta data reads use READ_META
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/ext3/inode.c')
-rw-r--r-- | fs/ext3/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index dcf4f1d..03ba5bc 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c @@ -36,6 +36,7 @@ #include <linux/writeback.h> #include <linux/mpage.h> #include <linux/uio.h> +#include <linux/bio.h> #include "xattr.h" #include "acl.h" @@ -1073,7 +1074,7 @@ struct buffer_head *ext3_bread(handle_t *handle, struct inode *inode, return bh; if (buffer_uptodate(bh)) return bh; - ll_rw_block(READ, 1, &bh); + ll_rw_block(READ_META, 1, &bh); wait_on_buffer(bh); if (buffer_uptodate(bh)) return bh; @@ -2540,7 +2541,7 @@ make_io: */ get_bh(bh); bh->b_end_io = end_buffer_read_sync; - submit_bh(READ, bh); + submit_bh(READ_META, bh); wait_on_buffer(bh); if (!buffer_uptodate(bh)) { ext3_error(inode->i_sb, "ext3_get_inode_loc", |