Whamcloud - gitweb
- ext2_obd.c --- fix the bugs in read/write for Linux 2.4.3
[fs/lustre-release.git] / lustre / patches / patch-2.4.3-empty-super
1 --- linux/fs/super.c.orig       Sat Sep 29 09:40:16 2001
2 +++ linux/fs/super.c    Sat Sep 29 09:40:42 2001
3 @@ -695,7 +695,7 @@
4   *     the request.
5   */
6   
7 -static struct super_block *get_empty_super(void)
8 +struct super_block *get_empty_super(void)
9  {
10         struct super_block *s;
11  
12 --- linux/include/linux/fs.h.orig       Sat Sep 29 09:42:14 2001
13 +++ linux/include/linux/fs.h    Sat Sep 29 09:42:55 2001
14 @@ -1360,6 +1360,7 @@
15  extern struct file_system_type *get_fs_type(const char *name);
16  extern struct super_block *get_super(kdev_t);
17  extern void put_super(kdev_t);
18 +struct super_block *get_empty_super(void);
19  unsigned long generate_cluster(kdev_t, int b[], int);
20  unsigned long generate_cluster_swab32(kdev_t, int b[], int);
21  extern kdev_t ROOT_DEV;
22 --- linux/kernel/ksyms.c.orig   Sat Sep 29 09:40:56 2001
23 +++ linux/kernel/ksyms.c        Sat Sep 29 09:41:17 2001
24 @@ -142,6 +142,7 @@
25  EXPORT_SYMBOL(igrab);
26  EXPORT_SYMBOL(iunique);
27  EXPORT_SYMBOL(iget4);
28 +EXPORT_SYMBOL(get_empty_super);
29  EXPORT_SYMBOL(iput);
30  EXPORT_SYMBOL(force_delete);
31  EXPORT_SYMBOL(follow_up);