From a41cd6e4274462df70a72f57c5a6cb85db924a08 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 4 Feb 2002 20:19:52 -0800 Subject: v2.4.10 -> v2.4.10.0.1 - me/al/andrea: buffers-in-pagecache coherency, buffer.c cleanups --- include/linux/blkdev.h | 11 ----------- include/linux/fs.h | 16 +++------------- include/linux/pagemap.h | 3 +++ include/linux/swap.h | 1 + 4 files changed, 7 insertions(+), 24 deletions(-) (limited to 'include/linux') diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f266229c340c..86ea92ae5a94 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -203,15 +203,4 @@ static inline int get_hardsect_size(kdev_t dev) #define blk_finished_io(nsects) do { } while (0) #define blk_started_io(nsects) do { } while (0) -static inline int buffered_blk_size(kdev_t dev) -{ - int ret = INT_MAX; - int major = MAJOR(dev); - - if (blk_size[major]) - ret = blk_size[major][MINOR(dev)] + ((BUFFERED_BLOCKSIZE-1) >> BLOCK_SIZE_BITS); - - return ret; -} - #endif diff --git a/include/linux/fs.h b/include/linux/fs.h index 1600704891a6..686fb7160c25 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -46,10 +46,6 @@ struct poll_table_struct; #define BLOCK_SIZE_BITS 10 #define BLOCK_SIZE (1<