Whamcloud - gitweb
add export of do_kern_mount for 2.4.9
[fs/lustre-release.git] / lustre / patches / patch-2.4.9-ac10
1 diff -u linux-2.4.9-ac10.orig/include/linux/fs.h linux-2.4.9-ac10/include/linux/fs.h
2 --- linux-2.4.9-ac10.orig/include/linux/fs.h    Mon Sep 24 11:15:51 2001
3 +++ linux-2.4.9-ac10/include/linux/fs.h Thu Sep 20 16:55:36 2001
4 @@ -1440,6 +1440,7 @@
5  extern int dcache_readdir(struct file *, void *, filldir_t);
6  
7  extern struct file_system_type *get_fs_type(const char *name);
8 +struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data);
9  extern struct super_block *get_super(kdev_t);
10  extern void drop_super(struct super_block *sb);
11  static inline int is_mounted(kdev_t dev)
12 diff -u linux-2.4.9-ac10.orig/kernel/ksyms.c linux-2.4.9-ac10/kernel/ksyms.c
13 --- linux-2.4.9-ac10.orig/kernel/ksyms.c        Mon Sep 24 11:15:52 2001
14 +++ linux-2.4.9-ac10/kernel/ksyms.c     Thu Sep 20 16:42:30 2001
15 @@ -131,6 +131,7 @@
16  EXPORT_SYMBOL(def_blk_fops);
17  EXPORT_SYMBOL(update_atime);
18  EXPORT_SYMBOL(get_fs_type);
19 +EXPORT_SYMBOL(do_kern_mount);
20  EXPORT_SYMBOL(get_super);
21  EXPORT_SYMBOL(drop_super);
22  EXPORT_SYMBOL(getname);