]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12ef4f4b550bee2ee0c03b05f199d446171f74ef
treef8fd567e331b02efda2e09986fdfb37c1461dfc8
parent008343fa62dc25f0d60245dd91159b077161137e
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