diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-04 14:44:06 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-04 14:44:06 -0400 |
commit | 84dde76c4a2d99ed2d7de6ec82c53b56620900a3 (patch) | |
tree | 3af3f15c629a6e80b484e05ba6860097fcbcb21e | |
parent | a19b89cad51b6f0da8f4bafdfdcfb10264cbcdea (diff) |
NFS: Fix a compile glitch on 64-bit systems
fs/nfs/pagelist.c:226: error: conflicting types for 'nfs_pageio_init'
include/linux/nfs_page.h:80: error: previous declaration of 'nfs_pageio_init' was here
Thanks to Andrew for spotting this...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/pagelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index fe90130bd7a9..388950118f59 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c | |||
@@ -228,7 +228,7 @@ out: | |||
228 | void nfs_pageio_init(struct nfs_pageio_descriptor *desc, | 228 | void nfs_pageio_init(struct nfs_pageio_descriptor *desc, |
229 | struct inode *inode, | 229 | struct inode *inode, |
230 | int (*doio)(struct inode *, struct list_head *, unsigned int, size_t, int), | 230 | int (*doio)(struct inode *, struct list_head *, unsigned int, size_t, int), |
231 | unsigned int bsize, | 231 | size_t bsize, |
232 | int io_flags) | 232 | int io_flags) |
233 | { | 233 | { |
234 | INIT_LIST_HEAD(&desc->pg_list); | 234 | INIT_LIST_HEAD(&desc->pg_list); |