Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d439064
)
Branch b1_4
author
adilger
<adilger>
Mon, 15 Aug 2005 22:53:38 +0000
(22:53 +0000)
committer
adilger
<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
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/pack_generic.c
b/lustre/ptlrpc/pack_generic.c
index
9cb6d84
..
3e3667f
100644
(file)
--- 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 */
}