summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-11-12 09:54:07 +0000
committerphk <phk@FreeBSD.org>2003-11-12 09:54:07 +0000
commitc6eb0ef3607d95336e1c5b639c3ab91d07f8a6e9 (patch)
treeb380a5f2a6605bc51c41688f375b00b016caa7a1 /sys/fs/nwfs
parentb24e482da197440daf47fd97fed8010e00644745 (diff)
downloadFreeBSD-src-c6eb0ef3607d95336e1c5b639c3ab91d07f8a6e9.zip
FreeBSD-src-c6eb0ef3607d95336e1c5b639c3ab91d07f8a6e9.tar.gz
Don't mess around with spare fields of public structures.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index ee040c9..688b84d 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -428,7 +428,6 @@ nwfs_statfs(mp, sbp, td)
nmp->n_volume, &vi, td, td->td_ucred);
if (error) return error;
secsize = 512; /* XXX how to get real value ??? */
- sbp->f_spare2=0; /* placeholder */
/* fundamental filesystem block size */
sbp->f_bsize = vi.sectors_per_block*secsize;
/* optimal transfer block size */
OpenPOWER on IntegriCloud