diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index b9129e2befea..02e97c29af0c 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -969,7 +969,8 @@ struct nfs_server *nfs_create_server(struct nfs_mount_info *mount_info, | |||
969 | } | 969 | } |
970 | 970 | ||
971 | if (!(fattr->valid & NFS_ATTR_FATTR)) { | 971 | if (!(fattr->valid & NFS_ATTR_FATTR)) { |
972 | error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, fattr, NULL); | 972 | error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, |
973 | fattr, NULL, NULL); | ||
973 | if (error < 0) { | 974 | if (error < 0) { |
974 | dprintk("nfs_create_server: getattr error = %d\n", -error); | 975 | dprintk("nfs_create_server: getattr error = %d\n", -error); |
975 | goto error; | 976 | goto error; |