public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 25/37] ext4: use get/put_endian helpers
@ 2008-05-29 20:18 Harvey Harrison
  2008-05-29 20:18 ` Harvey Harrison
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-05-29 20:18 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-arch, ext-devel, Stephen C. Tweedie

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 fs/ext4/super.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 09d9359..fc9959a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3006,8 +3006,8 @@ static int ext4_statfs (struct dentry * dentry, struct kstatfs * buf)
 	buf->f_ffree = percpu_counter_sum_positive(&sbi->s_freeinodes_counter);
 	es->s_free_inodes_count = cpu_to_le32(buf->f_ffree);
 	buf->f_namelen = EXT4_NAME_LEN;
-	fsid = le64_to_cpup((void *)es->s_uuid) ^
-	       le64_to_cpup((void *)es->s_uuid + sizeof(u64));
+	fsid = get_le64((void *)es->s_uuid) ^
+	       get_le64((void *)es->s_uuid + sizeof(__le64));
 	buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL;
 	buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL;
 	return 0;
-- 
1.5.6.rc0.277.g804cf



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-29 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 20:18 [PATCH 25/37] ext4: use get/put_endian helpers Harvey Harrison
2008-05-29 20:18 ` Harvey Harrison

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