summaryrefslogtreecommitdiffstats
path: root/fs/ext3/namei.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-07-23 01:41:26 +0200
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-09-30 20:29:42 +0200
commitcaa38fb0f481a3cb732b115cb59bfa6b59b6daaf (patch)
treec68f069f58748813e9195b6205936846aba2e43e /fs/ext3/namei.c
parent5404bc7a87b9949cf61e0174b21f80e73239ab25 (diff)
downloadop-kernel-dev-caa38fb0f481a3cb732b115cb59bfa6b59b6daaf.zip
op-kernel-dev-caa38fb0f481a3cb732b115cb59bfa6b59b6daaf.tar.gz
[PATCH] ext3: make meta data reads use READ_META
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/ext3/namei.c')
-rw-r--r--fs/ext3/namei.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 85d132c..235e77b 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -35,6 +35,7 @@
#include <linux/string.h>
#include <linux/quotaops.h>
#include <linux/buffer_head.h>
+#include <linux/bio.h>
#include <linux/smp_lock.h>
#include "namei.h"
@@ -870,7 +871,7 @@ restart:
bh = ext3_getblk(NULL, dir, b++, 0, &err);
bh_use[ra_max] = bh;
if (bh)
- ll_rw_block(READ, 1, &bh);
+ ll_rw_block(READ_META, 1, &bh);
}
}
if ((bh = bh_use[ra_ptr++]) == NULL)
OpenPOWER on IntegriCloud