Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Mon, 15 Aug 2005 22:53:38 +0000 (22:53 +0000)
committeradilger <adilger>
Mon, 15 Aug 2005 22:53:38 +0000 (22:53 +0000)
Fix swabbing of the total inodes count for big-endian clients.
r=behlendorf

lustre/ptlrpc/pack_generic.c

index 9cb6d84..3e3667f 100644 (file)
@@ -477,10 +477,12 @@ void lustre_swab_obd_statfs (struct obd_statfs *os)
         __swab64s (&os->os_blocks);
         __swab64s (&os->os_bfree);
         __swab64s (&os->os_bavail);
+        __swab64s (&os->os_files);
         __swab64s (&os->os_ffree);
         /* no need to swap os_fsid */
         __swab32s (&os->os_bsize);
         __swab32s (&os->os_namelen);
+        __swab64s (&os->os_maxbytes);
         /* no need to swap os_spare */
 }