]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r214048, r214053
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Nov 2010 01:03:05 +0000 (01:03 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Nov 2010 01:03:05 +0000 (01:03 +0000)
commit9644fef779a2a31ca43377caee934d9c59f87344
tree9664564bb83a9b587f8c0fdeff49b3f5316dd6d1
parent77b80118349dfdb939d6e7a7a526f7766e30cd11
MFC: r214048, r214053
Modify the NFS clients and the NLM so that the NLM can be used
by both clients. Since the NLM uses various fields of the
nfsmount structure, those fields were extracted and put in a
separate nfs_mountcommon structure stored in sys/nfs/nfs_mountcommon.h.
This structure also has a function pointer for a function that
extracts the required information from the mount point and nfs vnode
for that particular client. Also, fix the type of the 3rd argument for
this function.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
14 files changed:
sys/fs/nfsclient/nfs_clnode.c
sys/fs/nfsclient/nfs_clvfsops.c
sys/fs/nfsclient/nfs_clvnops.c
sys/fs/nfsclient/nfsmount.h
sys/nfs/nfs_lock.c
sys/nfs/nfs_lock.h
sys/nfs/nfs_mountcommon.h [new file with mode: 0644]
sys/nfsclient/nfs_node.c
sys/nfsclient/nfs_vfsops.c
sys/nfsclient/nfs_vnops.c
sys/nfsclient/nfsmount.h
sys/nfsclient/nfsnode.h
sys/nlm/nlm_advlock.c
sys/nlm/nlm_prot_impl.c