summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs/smbfs_vfsops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-11-12 09:52:10 +0000
committerphk <phk@FreeBSD.org>2003-11-12 09:52:10 +0000
commitb24e482da197440daf47fd97fed8010e00644745 (patch)
tree45049901da94776537c81ce976d1babf5a604b97 /sys/fs/smbfs/smbfs_vfsops.c
parent01e9462fd619e43eabc6291c9962bc3e83993598 (diff)
downloadFreeBSD-src-b24e482da197440daf47fd97fed8010e00644745.zip
FreeBSD-src-b24e482da197440daf47fd97fed8010e00644745.tar.gz
Don't mess about with spare fields in public structures.
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index 1a279f1..5a919c9 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)
OpenPOWER on IntegriCloud