projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cb09b
)
NFS: Fix a warning in fs/nfs/idmap.c
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 14 Mar 2011 22:20:01 +0000
(18:20 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 14 Mar 2011 22:25:53 +0000
(18:25 -0400)
Commit
45a52a02072b2a7e265f024cfdb00127e08dd9f2
(NFS move nfs_client
initialization into nfs_get_client) introduces a new warning in
fs/nfs/idmap.c:
‘struct rpc_timeout’ declared inside parameter list
Fix it by adding a forward declaration for the struct rpc_timeout
in include/linux/nfs_xdr.h
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_xdr.h
patch
|
blob
|
history
diff --git
a/include/linux/nfs_xdr.h
b/include/linux/nfs_xdr.h
index 3440f5ab0f54bd6bd16ab04ab8b5a1f65ca060c7..2c2c67d2eb42293370481fc7c70f5feeebfa8aaf 100644
(file)
--- a/
include/linux/nfs_xdr.h
+++ b/
include/linux/nfs_xdr.h
@@
-1051,6
+1051,7
@@
struct nfs_write_data {
struct nfs_access_entry;
struct nfs_client;
+struct rpc_timeout;
/*
* RPC procedure vector for NFSv2/NFSv3 demuxing