aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-14 18:20:01 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-14 18:25:53 -0400
commite0dca7a05df4e23a8f5b07742e99e2a6f7d67db1 (patch)
tree09b9f4a77ceb54b6d2917df882a4b34db99bce0c /include
parentc5cb09b6f898609922f9b873661f6cbc26cb29e1 (diff)
NFS: Fix a warning in fs/nfs/idmap.c
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 3440f5ab0f54..2c2c67d2eb42 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1051,6 +1051,7 @@ struct nfs_write_data {
1051 1051
1052struct nfs_access_entry; 1052struct nfs_access_entry;
1053struct nfs_client; 1053struct nfs_client;
1054struct rpc_timeout;
1054 1055
1055/* 1056/*
1056 * RPC procedure vector for NFSv2/NFSv3 demuxing 1057 * RPC procedure vector for NFSv2/NFSv3 demuxing