Skip to contentSkip to conversation

qnx4: use get/put_endian helpers

PATCH In review Harvey Harrison 1 participant 1 message May 29, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 31/37 qnx4: use get/put_endian helpers

---
 fs/qnx4/inode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/qnx4/inode.c +1 -1
index b31ab78..c2edfce 100644
@@ -372,7 +372,7 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent)
 		printk("qnx4: unable to read the superblock\n");
 		goto outnobh;
 	}
-	if ( le32_to_cpup((__le32*) bh->b_data) != QNX4_SUPER_MAGIC ) {
+	if (get_le32((__le32 *)bh->b_data) != QNX4_SUPER_MAGIC) {
 		if (!silent)
 			printk("qnx4: wrong fsid in superblock.\n");
 		goto out;
Signature · 1 line
1.5.6.rc0.277.g804cf