Move VT_SMBFS definition to the proper place. Undefine VI_LOCK/VI_UNLOCK.

This commit is contained in:
bp 2001-04-13 11:26:54 +00:00
parent 7e6ce027ec
commit f9931b90b2
2 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -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
};
/*