From 72e1f7c1c6f24ab46244514efb8e0a7520d0a409 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Thu, 28 Feb 2008 06:38:10 +0000 Subject: [PATCH] Branch b1_6 b=13397 i=johann i=shadow Export the needed symbol for lustre. --- .../patches/ext3-fiemap-2.6.22-vanilla.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ldiskfs/kernel_patches/patches/ext3-fiemap-2.6.22-vanilla.patch b/ldiskfs/kernel_patches/patches/ext3-fiemap-2.6.22-vanilla.patch index 8554589..101d983 100644 --- a/ldiskfs/kernel_patches/patches/ext3-fiemap-2.6.22-vanilla.patch +++ b/ldiskfs/kernel_patches/patches/ext3-fiemap-2.6.22-vanilla.patch @@ -338,3 +338,27 @@ Index: linux-2.6.18/fs/ext3/fiemap.h +#define FIEMAP_EXTENT_EOF 0x00000100 /* if fm_start+fm_len is beyond EOF*/ + +#endif /* _LINUX_EXT3_FIEMAP_H */ +--- linux-src.org/fs/ext3/ext3_jbd.c ++++ linux-src/fs/ext3/ext3_jbd.c +@@ -2,6 +2,7 @@ + * Interface between ext3 and JBD + */ + ++#include + #include + + int __ext3_journal_get_undo_access(const char *where, handle_t *handle, +@@ -21,6 +21,7 @@ int __ext3_journal_get_write_access(cons + ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); + return err; + } ++EXPORT_SYMBOL(__ext3_journal_get_write_access); + + int __ext3_journal_forget(const char *where, handle_t *handle, + struct buffer_head *bh) +@@ -57,3 +58,5 @@ int __ext3_journal_dirty_metadata(const + ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); + return err; + } ++ ++EXPORT_SYMBOL(__ext3_journal_dirty_metadata); -- 1.8.3.1