From 1054ba63be8ca5255db2ed4bcb0e58e1d9e324b7 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 12 Nov 2003 09:52:10 +0000 Subject: [PATCH] Don't mess about with spare fields in public structures. --- sys/fs/smbfs/smbfs_vfsops.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 1a279f1c089..5a919c905e1 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -375,7 +375,6 @@ smbfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td) return EINVAL; sbp->f_iosize = SSTOVC(ssp)->vc_txmax; /* optimal transfer block size */ - sbp->f_spare2 = 0; /* placeholder */ smb_makescred(&scred, td, td->td_ucred); if (SMB_DIALECT(SSTOVC(ssp)) >= SMB_DIALECT_LANMAN2_0)