]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
NFS: Fix a compile glitch on 64-bit systems
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 May 2007 18:44:06 +0000 (14:44 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 May 2007 18:44:06 +0000 (14:44 -0400)
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>
fs/nfs/pagelist.c

index fe90130bd7a9201e00250c88a10110b47b60cdbf..388950118f59ae5b30c90b64dfc5d618aa7fd33f 100644 (file)
@@ -228,7 +228,7 @@ out:
 void nfs_pageio_init(struct nfs_pageio_descriptor *desc,
                     struct inode *inode,
                     int (*doio)(struct inode *, struct list_head *, unsigned int, size_t, int),
-                    unsigned int bsize,
+                    size_t bsize,
                     int io_flags)
 {
        INIT_LIST_HEAD(&desc->pg_list);