Whamcloud - gitweb
6993eb16087aabaeef7ac5d035b9a781301bd0da
[fs/lustre-release.git] / lustre / kernel_patches / patches / inode-max-readahead-chaos-2.4.18.patch
1 --- linux-2.4.24-l32/include/linux/fs.h.inode_ramax     2004-03-14 13:15:49.000000000 -0800
2 +++ linux-2.4.24-l32/include/linux/fs.h 2004-03-15 11:56:56.000000000 -0800
3 @@ -410,6 +410,8 @@
4  #define KERNEL_HAS_DIRECT_FILEIO /* Unfortunate kludge due to lack of foresight */
5         int (*direct_fileIO)(int, struct file *, struct kiobuf *, unsigned long, int);
6         void (*removepage)(struct page *); /* called when page gets removed from the inode */
7 +#define KERNEL_HAS_AS_MAX_READAHEAD
8 +       int (*max_readahead)(struct inode *);
9  };
10  
11  struct address_space {