Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: asm-alpha/statfs.h bug
Date: Wed, 3 Apr 1996 19:25:57 -0600 (CST)	[thread overview]
Message-ID: <m0u4doF-00026mC@atheist.tamu.edu> (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;

                 reply	other threads:[~1996-04-04  1:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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