NFS: Invoke nlmclnt_init during NFS mount processing
authorChuck Lever <chuck.lever@oracle.com>
Fri, 11 Jan 2008 22:09:52 +0000 (17:09 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:06:07 +0000 (02:06 -0500)
commit9289e7f91add1c09c3ec8571a2080f7507730b8d
treef8fd567e331b02efda2e09986fdfb37c1461dfc8
parent52c4044d00fe703eb3fb18e0d8dfd1c196eb28be
NFS: Invoke nlmclnt_init during NFS mount processing

Cache an appropriate nlm_host structure in the NFS client's mount point
metadata for later use.

Note that there is no need to set NFS_MOUNT_NONLM in the error case -- if
nfs_start_lockd() returns a non-zero value, its callers ensure that the
mount request fails outright.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
include/linux/nfs_fs_sb.h