Whamcloud - gitweb
b=16680
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-export-journal-api.patch
1 --- linux-src.org/fs/ext3/ext3_jbd.c
2 +++ linux-src/fs/ext3/ext3_jbd.c
3 @@ -2,6 +2,7 @@
4   * Interface between ext3 and JBD
5   */
6  
7 +#include <linux/module.h>
8  #include <linux/ext3_jbd.h>
9  
10  int __ext3_journal_get_undo_access(const char *where, handle_t *handle,
11 @@ -21,6 +21,7 @@ int __ext3_journal_get_write_access(cons
12                 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
13         return err;
14  }
15 +EXPORT_SYMBOL(__ext3_journal_get_write_access);
16  
17  int __ext3_journal_forget(const char *where, handle_t *handle,
18                                 struct buffer_head *bh)
19 @@ -57,3 +58,5 @@ int __ext3_journal_dirty_metadata(const 
20                 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
21         return err;
22  }
23 +
24 +EXPORT_SYMBOL(__ext3_journal_dirty_metadata);