Don't mess about with spare fields in public structures.

This commit is contained in:
Poul-Henning Kamp 2003-11-12 09:52:10 +00:00
parent c12ec49eda
commit 1054ba63be

View file

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