From 911cf2adeb43d774e62911a51777e1f8842218be Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 23 Jul 2006 01:41:26 +0200 Subject: [PATCH] --- yaml --- r: 37562 b: refs/heads/master c: caa38fb0f481a3cb732b115cb59bfa6b59b6daaf h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext3/inode.c | 5 +++-- trunk/fs/ext3/namei.c | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 3ef69340f392..9194cb24498d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5404bc7a87b9949cf61e0174b21f80e73239ab25 +refs/heads/master: caa38fb0f481a3cb732b115cb59bfa6b59b6daaf diff --git a/trunk/fs/ext3/inode.c b/trunk/fs/ext3/inode.c index dcf4f1dd108b..03ba5bcab186 100644 --- a/trunk/fs/ext3/inode.c +++ b/trunk/fs/ext3/inode.c @@ -36,6 +36,7 @@ #include #include #include +#include #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 @@ static int __ext3_get_inode_loc(struct inode *inode, */ 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", diff --git a/trunk/fs/ext3/namei.c b/trunk/fs/ext3/namei.c index 85d132c37ee0..235e77b52ea5 100644 --- a/trunk/fs/ext3/namei.c +++ b/trunk/fs/ext3/namei.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "namei.h" @@ -870,7 +871,7 @@ static struct buffer_head * ext3_find_entry (struct dentry *dentry, 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)