generic: ar8216: add vtu_flush field to ar8xxx_chip
[openwrt.git] / target / linux / generic / patches-2.6.39 / 504-yaffs_mutex_fix.patch
1 --- a/fs/yaffs2/yaffs_vfs_glue.c
2 +++ b/fs/yaffs2/yaffs_vfs_glue.c
3 @@ -3036,7 +3036,7 @@ static struct super_block *yaffs_interna
4 YINIT_LIST_HEAD(&(yaffs_dev_to_lc(dev)->searchContexts));
5 param->remove_obj_fn = yaffs_remove_obj_callback;
6
7 - init_MUTEX(&(yaffs_dev_to_lc(dev)->grossLock));
8 + sema_init(&(yaffs_dev_to_lc(dev)->grossLock), 1);
9
10 yaffs_gross_lock(dev);
11
12 @@ -3494,7 +3494,7 @@ static int __init init_yaffs_fs(void)
13
14
15
16 - init_MUTEX(&yaffs_context_lock);
17 + sema_init((&yaffs_context_lock), 1);
18
19 /* Install the proc_fs entries */
20 my_proc_entry = create_proc_entry("yaffs",
This page took 0.046483 seconds and 5 git commands to generate.