Date: Thu, 27 Apr 2017 23:52:14 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r317535 - projects/pnfs-planb-server/sys/fs/nfs Message-ID: <201704272352.v3RNqE1W037036@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Thu Apr 27 23:52:14 2017 New Revision: 317535 URL: https://svnweb.freebsd.org/changeset/base/317535 Log: Update nfsport.h to include the pNFS server code. Modified: projects/pnfs-planb-server/sys/fs/nfs/nfsport.h Modified: projects/pnfs-planb-server/sys/fs/nfs/nfsport.h ============================================================================== --- projects/pnfs-planb-server/sys/fs/nfs/nfsport.h Thu Apr 27 23:46:00 2017 (r317534) +++ projects/pnfs-planb-server/sys/fs/nfs/nfsport.h Thu Apr 27 23:52:14 2017 (r317535) @@ -707,6 +707,10 @@ void nfsrvd_rcv(struct socket *, void *, #define NFSSESSIONMUTEXPTR(s) (&((s)->mtx)) #define NFSLOCKSESSION(s) mtx_lock(&((s)->mtx)) #define NFSUNLOCKSESSION(s) mtx_unlock(&((s)->mtx)) +#define NFSLOCKLAYOUT(l) mtx_lock(&((l)->mtx)) +#define NFSUNLOCKLAYOUT(l) mtx_unlock(&((l)->mtx)) +#define NFSDDSLOCK() mtx_lock(&nfsrv_dslock_mtx) +#define NFSDDSUNLOCK() mtx_unlock(&nfsrv_dslock_mtx) /* * Use these macros to initialize/free a mutex.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704272352.v3RNqE1W037036>