aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-10-12 11:26:12 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-12 13:25:12 -0400
commita1be9eee2996fd9969625e7b5e2f2bc2032fd3cb (patch)
treeb2f9bd708207a4013605320487b480a3a1ba56f8 /fs/nfs/super.c
parenteea7e17e0eb23729d58368420659f8e7c357d82e (diff)
NFS: suppress a build warning
struct sockaddr_storage * can safely be used as struct sockaddr *. Suppress an "incompatible pointer type" warning. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 6dabf6feec94..a2c18acb8568 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1848,8 +1848,8 @@ nfs_compare_remount_data(struct nfs_server *nfss,
1848 data->timeo != (10U * nfss->client->cl_timeout->to_initval / HZ) || 1848 data->timeo != (10U * nfss->client->cl_timeout->to_initval / HZ) ||
1849 data->nfs_server.port != nfss->port || 1849 data->nfs_server.port != nfss->port ||
1850 data->nfs_server.addrlen != nfss->nfs_client->cl_addrlen || 1850 data->nfs_server.addrlen != nfss->nfs_client->cl_addrlen ||
1851 !rpc_cmp_addr(&data->nfs_server.address, 1851 !rpc_cmp_addr((struct sockaddr *)&data->nfs_server.address,
1852 &nfss->nfs_client->cl_addr)) 1852 (struct sockaddr *)&nfss->nfs_client->cl_addr))
1853 return -EINVAL; 1853 return -EINVAL;
1854 1854
1855 return 0; 1855 return 0;