[PATCH] 2.5.35-vanilla compile error with NTFS - FIX

Marc-Christian Petersen (m.c.p@wolk-project.de)
Mon, 16 Sep 2002 14:04:00 +0200


--------------Boundary-00=_OI5JJ8LGPSG9ERCDKYSZ
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Linus,

root@codeman:[/usr/src/linux-2.5.35] # make modules_install
=2E..
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.35; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.35/kernel/fs/ntfs/ntfs=
=2Eo
depmod: unmap_underlying_metadata
root@codeman:[/usr/src/linux-2.5.35] #

This also was true for 2.5.34.

=2E..
CONFIG_NTFS_FS=3Dm
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=3Dy
=2E..

The attached patch fixes it. Please apply.

--=20
Kind regards
Marc-Christian Petersen

http://sourceforge.net/projects/wolk

PGP/GnuPG Key: 1024D/569DE2E3DB441A16
Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
Key available at www.keyserver.net. Encrypted e-mail preferred.
--------------Boundary-00=_OI5JJ8LGPSG9ERCDKYSZ
Content-Type: text/x-diff;
charset="us-ascii";
name="ntfs-module-build-unresolved-symbols-fix.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ntfs-module-build-unresolved-symbols-fix.patch"

diff -ruN linux-2.5.35-vanilla/fs/buffer.c linux-2.5.35-mcp1-fullkernel/fs/buffer.c
--- linux-2.5.35-vanilla/fs/buffer.c 2002-09-16 10:47:01.000000000 +0200
+++ linux-2.5.35-mcp1-fullkernel/fs/buffer.c 2002-09-16 13:54:24.000000000 +0200
@@ -1628,6 +1628,7 @@
__brelse(old_bh);
}
}
+EXPORT_SYMBOL(unmap_underlying_metadata);

/*
* NOTE! All mapped/uptodate combinations are valid:

--------------Boundary-00=_OI5JJ8LGPSG9ERCDKYSZ--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/