From: adilger Date: Mon, 15 Aug 2005 22:53:38 +0000 (+0000) Subject: Branch b1_4 X-Git-Tag: v1_7_140~1^12~3^2~55^5~17 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8a4a134737327b1fe12c6d94c277ae70629d4946;p=fs%2Flustre-release.git Branch b1_4 Fix swabbing of the total inodes count for big-endian clients. r=behlendorf --- diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index 9cb6d84..3e3667f 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -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 */ }