Skip to content

Commit

Permalink
NFS: Fix a compile glitch on 64-bit systems
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed May 4, 2007
1 parent a19b89c commit 84dde76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/pagelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ nfs_wait_on_request(struct nfs_page *req)
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);
Expand Down

0 comments on commit 84dde76

Please sign in to comment.