aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2001-04-13 11:26:54 +0000
committerBoris Popov <bp@FreeBSD.org>2001-04-13 11:26:54 +0000
commit0fdabd3a451e4f6ac9048f43555cd0faba998ae6 (patch)
tree7d224b13254635dc703eb07812515a94ff10ce9c
parent971dd34298791e46654493d7055bd1c0006b1780 (diff)
Notes
-rw-r--r--sys/fs/smbfs/smbfs.h7
-rw-r--r--sys/sys/vnode.h2
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/fs/smbfs/smbfs.h b/sys/fs/smbfs/smbfs.h
index 0b9d88bea36b..5aa72dada3fa 100644
--- a/sys/fs/smbfs/smbfs.h
+++ b/sys/fs/smbfs/smbfs.h
@@ -34,8 +34,6 @@
#ifndef _SMBFS_SMBFS_H_
#define _SMBFS_SMBFS_H_
-#define VT_SMBFS 24
-
#define SMBFS_VERMAJ 1
#define SMBFS_VERMIN 1012
#define SMBFS_VERSION (SMBFS_VERMAJ*100000 + SMBFS_VERMIN)
@@ -71,11 +69,6 @@ struct smbfs_args {
MALLOC_DECLARE(M_SMBFSMNT);
#endif
-#ifndef VI_LOCK
-#define VI_LOCK(vp) smb_sl_lock(&(vp)->v_interlock)
-#define VI_UNLOCK(vp) smb_sl_unlock(&(vp)->v_interlock)
-#endif
-
struct smbnode;
struct smb_share;
struct u_cred;
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 846a95b9fb64..f8193485bc67 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -64,7 +64,7 @@ enum vtagtype {
VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_PC, VT_LFS, VT_LOFS, VT_FDESC,
VT_PORTAL, VT_NULL, VT_UMAP, VT_KERNFS, VT_PROCFS, VT_AFS, VT_ISOFS,
VT_UNION, VT_MSDOSFS, VT_DEVFS, VT_TFS, VT_VFS, VT_CODA, VT_NTFS,
- VT_HPFS, VT_NWFS, VT_PSEUDOFS
+ VT_HPFS, VT_NWFS, VT_PSEUDOFS, VT_SMBFS
};
/*