diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-08-23 14:49:55 +0200 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2015-05-02 14:35:54 +0200 |
commit | e4881eee95150d52292b6d5de0499c662ea07e15 (patch) | |
tree | f8d3ff46d1795dc0f41bdd347fb233e87154b077 /fs/ext3 | |
parent | 8a4d718495745311dcfcf5f17f17f491d67b982a (diff) | |
download | kernel_samsung_tuna-e4881eee95150d52292b6d5de0499c662ea07e15.zip kernel_samsung_tuna-e4881eee95150d52292b6d5de0499c662ea07e15.tar.gz kernel_samsung_tuna-e4881eee95150d52292b6d5de0499c662ea07e15.tar.bz2 |
block: remove READ_META and WRITE_META
Replace all occurnanced of the undocumented READ_META with READ | REQ_META
and remove the unused WRITE_META define.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/inode.c | 4 | ||||
-rw-r--r-- | fs/ext3/namei.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index 0aedb27..2a1e24d 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c @@ -1102,7 +1102,7 @@ struct buffer_head *ext3_bread(handle_t *handle, struct inode *inode, return bh; if (buffer_uptodate(bh)) return bh; - ll_rw_block(READ_META, 1, &bh); + ll_rw_block(READ | REQ_META, 1, &bh); wait_on_buffer(bh); if (buffer_uptodate(bh)) return bh; @@ -2766,7 +2766,7 @@ make_io: */ get_bh(bh); bh->b_end_io = end_buffer_read_sync; - submit_bh(READ_META, bh); + submit_bh(READ | REQ_META, bh); wait_on_buffer(bh); if (!buffer_uptodate(bh)) { ext3_error(inode->i_sb, "ext3_get_inode_loc", diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index 8c9f82d..f5279aa 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c @@ -918,7 +918,7 @@ restart: bh = ext3_getblk(NULL, dir, b++, 0, &err); bh_use[ra_max] = bh; if (bh) - ll_rw_block(READ_META, 1, &bh); + ll_rw_block(READ | REQ_META, 1, &bh); } } if ((bh = bh_use[ra_ptr++]) == NULL) |