Skip to contentSkip to conversation

2.5.35-vanilla compile error with NTFS - FIX

PATCH New Marc-Christian Petersen 1 participant 1 message Sep 16, 2002 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.35-vanilla compile error with NTFS - FIX

Hi Linus,

root@codeman:[/usr/src/linux-2.5.35] # make modules_install
...
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.o
depmod: unmap_underlying_metadata
root@codeman:[/usr/src/linux-2.5.35] #

This also was true for 2.5.34.

...
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
...

The attached patch fixes it. Please apply.

Signature · 8 lines
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.
fs/buffer.c +1 -0
diff -ruN linux-2.5.35-vanilla/fs/buffer.c linux-2.5.35-mcp1-fullkernel/fs/buffer.c
@@ -1628,6 +1628,7 @@
 		__brelse(old_bh);
 	}
 }
+EXPORT_SYMBOL(unmap_underlying_metadata);
 
 /*
  * NOTE! All mapped/uptodate combinations are valid: