summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs/smbfs_vfsops.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-03-06 10:38:18 +0000
committertjr <tjr@FreeBSD.org>2003-03-06 10:38:18 +0000
commit96122ae0b747631268476b1c6efc61e1eea4e8b4 (patch)
tree4b428ed620474e9289d8040b68da0dbb8ec5654c /sys/fs/smbfs/smbfs_vfsops.c
parent6a5004156432b623e17462bebb2df4c282ca5823 (diff)
downloadFreeBSD-src-96122ae0b747631268476b1c6efc61e1eea4e8b4.zip
FreeBSD-src-96122ae0b747631268476b1c6efc61e1eea4e8b4.tar.gz
Remove fragments of support for the FreeBSD 3.x and 4.x branches.
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index db0bc84..b1d1c68 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -124,9 +124,6 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data,
struct smb_share *ssp = NULL;
struct vnode *vp;
struct smb_cred scred;
-#ifndef FB_CURRENT
- size_t size;
-#endif
int error;
char *pc, *pe;
@@ -182,12 +179,6 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data,
(S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFDIR;
/* simple_lock_init(&smp->sm_npslock);*/
-#ifndef FB_CURRENT
- error = copyinstr(path, mp->mnt_stat.f_mntonname, MNAMELEN - 1, &size);
- if (error)
- goto bad;
- bzero(mp->mnt_stat.f_mntonname + size, MNAMELEN - size);
-#endif
pc = mp->mnt_stat.f_mntfromname;
pe = pc + sizeof(mp->mnt_stat.f_mntfromname);
bzero(pc, MNAMELEN);
@@ -438,11 +429,7 @@ loop:
if (vp->v_mount != mp)
goto loop;
VI_LOCK(vp);
-#ifndef FB_RELENG3
if (VOP_ISLOCKED(vp, NULL) || TAILQ_EMPTY(&vp->v_dirtyblkhd) ||
-#else
- if (VOP_ISLOCKED(vp) || TAILQ_EMPTY(&vp->v_dirtyblkhd) ||
-#endif
waitfor == MNT_LAZY) {
VI_UNLOCK(vp);
continue;
OpenPOWER on IntegriCloud