mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Don't mess around with spare fields of public structures.
This commit is contained in:
parent
1054ba63be
commit
2178f0e340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122552
@ -428,7 +428,6 @@ nwfs_statfs(mp, sbp, td)
|
|||||||
nmp->n_volume, &vi, td, td->td_ucred);
|
nmp->n_volume, &vi, td, td->td_ucred);
|
||||||
if (error) return error;
|
if (error) return error;
|
||||||
secsize = 512; /* XXX how to get real value ??? */
|
secsize = 512; /* XXX how to get real value ??? */
|
||||||
sbp->f_spare2=0; /* placeholder */
|
|
||||||
/* fundamental filesystem block size */
|
/* fundamental filesystem block size */
|
||||||
sbp->f_bsize = vi.sectors_per_block*secsize;
|
sbp->f_bsize = vi.sectors_per_block*secsize;
|
||||||
/* optimal transfer block size */
|
/* optimal transfer block size */
|
||||||
|
Loading…
Reference in New Issue
Block a user