Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* asm-alpha/statfs.h bug
@ 1996-04-04  1:25 Richard Henderson
  0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 1996-04-04  1:25 UTC (permalink / raw)


The struct statfs.f_type slot is too small to hold many of
the SUPER values in linux/*_fs.h.  While a change of the
size of this field would break binary compatibility, simply
changing the type to unsigned will suffice for all current
filesystem types except hpfs and xia.  

r~

--- statfs.h.orig       Tue Mar 26 13:47:42 1996
+++ statfs.h    Wed Apr  3 19:18:07 1996
@@ -14,7 +14,7 @@
  * match the beginning, at least.
  */
 struct statfs {
-       short   f_type;
+       unsigned short  f_type;
        short   f_flags;
        int     f_fsize;
        int     f_bsize;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-04  1:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-04  1:25 asm-alpha/statfs.h bug Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox