Whamcloud - gitweb
b=18649 set wait_recovery_complete() MAX value to max recovery time estimated
[fs/lustre-release.git] / lustre / kernel_patches / patches / dynamic-locks-2.6-fc3.patch
1 Index: linux-2.6.10/fs/dcache.c
2 ===================================================================
3 --- linux-2.6.10.orig/fs/dcache.c       2006-10-21 11:52:54.000000000 +0800
4 +++ linux-2.6.10/fs/dcache.c    2006-10-21 13:04:55.000000000 +0800
5 @@ -1664,6 +1664,7 @@
6  
7  extern void bdev_cache_init(void);
8  extern void chrdev_init(void);
9 +extern void dynlock_cache_init(void);
10  
11  void __init vfs_caches_init_early(void)
12  {
13 @@ -1693,6 +1694,7 @@
14         mnt_init(mempages);
15         bdev_cache_init();
16         chrdev_init();
17 +       dynlock_cache_init();
18  }
19  
20  EXPORT_SYMBOL(d_alloc);
21 Index: linux-2.6.10/lib/Makefile
22 ===================================================================
23 --- linux-2.6.10.orig/lib/Makefile      2004-12-25 05:33:50.000000000 +0800
24 +++ linux-2.6.10/lib/Makefile   2006-10-21 13:08:20.000000000 +0800
25 @@ -5,7 +5,7 @@
26  lib-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
27          bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
28          kobject.o kref.o idr.o div64.o parser.o int_sqrt.o \
29 -        bitmap.o extable.o kobject_uevent.o
30 +        bitmap.o extable.o kobject_uevent.o dynlocks.o
31  
32  ifeq ($(CONFIG_DEBUG_KOBJECT),y)
33  CFLAGS_kobject.o += -DDEBUG