diff options
author | mohans <mohans@FreeBSD.org> | 2006-05-19 00:04:24 +0000 |
---|---|---|
committer | mohans <mohans@FreeBSD.org> | 2006-05-19 00:04:24 +0000 |
commit | 60ef6157336e266567b08916dee68af4c4f4d21e (patch) | |
tree | 02c7543fb7adb7dda8df6f0ad320769be2b28c31 /sys/nfsclient/nfsmount.h | |
parent | 876847ec5e682b076f7a4f80cf4918cfed7d4a06 (diff) | |
download | FreeBSD-src-60ef6157336e266567b08916dee68af4c4f4d21e.zip FreeBSD-src-60ef6157336e266567b08916dee68af4c4f4d21e.tar.gz |
Changes to make the NFS client MP safe.
Thanks to Kris Kennaway for testing and sending lots of bugs my way.
Diffstat (limited to 'sys/nfsclient/nfsmount.h')
-rw-r--r-- | sys/nfsclient/nfsmount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfsmount.h b/sys/nfsclient/nfsmount.h index a8bcc14..e7b9d0f 100644 --- a/sys/nfsclient/nfsmount.h +++ b/sys/nfsclient/nfsmount.h @@ -41,7 +41,6 @@ struct nfs_tcp_mountstate { #define NFS_TCP_EXPECT_RPCMARKER 0x0001 /* Expect to see a RPC/TCP marker next */ #define NFS_TCP_FORCE_RECONNECT 0x0002 /* Force a TCP reconnect */ int flags; - struct mtx mtx; }; /* @@ -50,6 +49,7 @@ struct nfs_tcp_mountstate { * Holds NFS specific information for mount. */ struct nfsmount { + struct mtx nm_mtx; int nm_flag; /* Flags for soft/hard... */ int nm_state; /* Internal state flags */ struct mount *nm_mountp; /* Vfs structure for this filesystem */ |