提交 84dde76c 编写于 作者: T Trond Myklebust

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: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 a19b89ca
...@@ -228,7 +228,7 @@ nfs_wait_on_request(struct nfs_page *req) ...@@ -228,7 +228,7 @@ nfs_wait_on_request(struct nfs_page *req)
void nfs_pageio_init(struct nfs_pageio_descriptor *desc, void nfs_pageio_init(struct nfs_pageio_descriptor *desc,
struct inode *inode, struct inode *inode,
int (*doio)(struct inode *, struct list_head *, unsigned int, size_t, int), int (*doio)(struct inode *, struct list_head *, unsigned int, size_t, int),
unsigned int bsize, size_t bsize,
int io_flags) int io_flags)
{ {
INIT_LIST_HEAD(&desc->pg_list); INIT_LIST_HEAD(&desc->pg_list);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册