diff options
author | davide <davide@FreeBSD.org> | 2012-11-22 09:13:45 +0000 |
---|---|---|
committer | davide <davide@FreeBSD.org> | 2012-11-22 09:13:45 +0000 |
commit | e52463677acb50f5a4718a048d7a26021e902fdb (patch) | |
tree | bb549c4934fdc008f1faf4e1e0966b8a1368995a /sys/fs/smbfs/smbfs_vfsops.c | |
parent | 017de7d0303ff918f52d32ec10a552ddb5c8906f (diff) | |
download | FreeBSD-src-e52463677acb50f5a4718a048d7a26021e902fdb.zip FreeBSD-src-e52463677acb50f5a4718a048d7a26021e902fdb.tar.gz |
- Remove reset of vpp pointer in some places as long as it's not really
useful and has the side effect of obfuscating the code a bit.
- Remove spurious references to simple_lock.
Reported by: attilio [1]
Sponsored by: iXsystems inc.
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 781857d..8b92376 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -207,7 +207,6 @@ smbfs_mount(struct mount *mp) vfs_flagopt(mp->mnt_optnew, "nolong", &smp->sm_flags, SMBFS_MOUNT_NO_LONG); -/* simple_lock_init(&smp->sm_npslock);*/ pc = mp->mnt_stat.f_mntfromname; pe = pc + sizeof(mp->mnt_stat.f_mntfromname); bzero(pc, MNAMELEN); |