[package] base-files, ppp: fix interface shutdown
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.34 / 216-mini_fo_locking.patch
1 --- a/fs/mini_fo/state.c
2 +++ b/fs/mini_fo/state.c
3 @@ -537,17 +537,17 @@ int nondir_mod_to_del(dentry_t *dentry)
4 dtohd(dentry) = NULL;
5 dtost(dentry) = DELETED;
6
7 - /* add deleted file to META-file */
8 - meta_add_d_entry(dentry->d_parent,
9 - dentry->d_name.name,
10 - dentry->d_name.len);
11 -
12 /* was: unlock_dir(hidden_sto_dir_dentry); */
13 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
14 mutex_unlock(&hidden_sto_dir_dentry->d_inode->i_mutex);
15 #else
16 up(&hidden_sto_dir_dentry->d_inode->i_sem);
17 #endif
18 + /* add deleted file to META-file */
19 + meta_add_d_entry(dentry->d_parent,
20 + dentry->d_name.name,
21 + dentry->d_name.len);
22 +
23 dput(hidden_sto_dir_dentry);
24
25 out:
This page took 0.047247 seconds and 5 git commands to generate.