Date: Tue, 19 Oct 2010 00:20:00 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsclient nfs_clnode.c nfs_clvfsops.c nfs_clvnops.c nfsmount.h src/sys/nfs nfs_lock.c nfs_lock.h nfs_mountcommon.h src/sys/nfsclient nfs_node.c nfs_vfsops.c nfs_vnops.c nfsmount.h nfsnode.h src/sys/nlm nlm_advlock.c ... Message-ID: <201010190020.o9J0KcjX058945@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-10-19 00:20:00 UTC FreeBSD src repository Modified files: sys/fs/nfsclient nfs_clnode.c nfs_clvfsops.c nfs_clvnops.c nfsmount.h sys/nfs nfs_lock.c nfs_lock.h sys/nfsclient nfs_node.c nfs_vfsops.c nfs_vnops.c nfsmount.h nfsnode.h sys/nlm nlm_advlock.c nlm_prot_impl.c Added files: sys/nfs nfs_mountcommon.h Log: SVN rev 214048 on 2010-10-19 00:20:00Z by rmacklem 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, for information stored differently by the clients. Reviewed by: jhb MFC after: 2 weeks Revision Changes Path 1.9 +5 -3 src/sys/fs/nfsclient/nfs_clnode.c 1.12 +40 -4 src/sys/fs/nfsclient/nfs_clvfsops.c 1.29 +2 -3 src/sys/fs/nfsclient/nfs_clvnops.c 1.4 +11 -6 src/sys/fs/nfsclient/nfsmount.h 1.16 +7 -5 src/sys/nfs/nfs_lock.c 1.4 +2 -0 src/sys/nfs/nfs_lock.h 1.1 +51 -0 src/sys/nfs/nfs_mountcommon.h (new) 1.96 +2 -0 src/sys/nfsclient/nfs_node.c 1.236 +27 -0 src/sys/nfsclient/nfs_vfsops.c 1.334 +0 -2 src/sys/nfsclient/nfs_vnops.c 1.40 +14 -7 src/sys/nfsclient/nfsmount.h 1.72 +0 -3 src/sys/nfsclient/nfsnode.h 1.10 +5 -10 src/sys/nlm/nlm_advlock.c 1.24 +2 -2 src/sys/nlm/nlm_prot_impl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010190020.o9J0KcjX058945>