1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

Don't mess around with spare fields of public structures.

This commit is contained in:
Poul-Henning Kamp 2003-11-12 09:54:07 +00:00
parent 1054ba63be
commit 2178f0e340
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122552

View File

@ -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 */