From f36087a6a18e73e84a4dec06d02b8574389f67e0 Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 8 May 2002 19:49:37 +0000 Subject: [PATCH] For some reason extN complains about "ntohl" not being exported, so rather than fix that I changed it to be "be32_to_cpu()" which is equivalent. When I get a chance I will look into this. --- lustre/extN/extN-misc-fixup.diff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lustre/extN/extN-misc-fixup.diff diff --git a/lustre/extN/extN-misc-fixup.diff b/lustre/extN/extN-misc-fixup.diff new file mode 100644 index 0000000..29b36fb --- /dev/null +++ b/lustre/extN/extN-misc-fixup.diff @@ -0,0 +1,15 @@ +--- linux-2.4.17/fs/extN/super.c.orig Fri Dec 21 10:41:55 2001 ++++ linux-2.4.17/fs/extN/super.c Fri Mar 22 11:00:41 2002 +@@ -1344,10 +1342,10 @@ + printk(KERN_ERR "EXTN-fs: I/O error on journal device\n"); + goto out_journal; + } +- if (ntohl(journal->j_superblock->s_nr_users) != 1) { ++ if (be32_to_cpu(journal->j_superblock->s_nr_users) != 1) { + printk(KERN_ERR "EXTN-fs: External journal has more than one " + "user (unsupported) - %d\n", +- ntohl(journal->j_superblock->s_nr_users)); ++ be32_to_cpu(journal->j_superblock->s_nr_users)); + goto out_journal; + } + EXTN_SB(sb)->journal_bdev = bdev; -- 1.8.3.1