diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-03-11 12:24:17 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-03-11 12:24:17 +0000 |
commit | d138f99bb2325af7821b5ea592bf7e5602ef228e (patch) | |
tree | 7f77c9b45c329c20826f8a1f1a2875132a56b307 /target/linux/generic-2.6/patches-2.6.34/216-mini_fo_locking.patch | |
parent | f086ba1d82562fd9f373a737b62353dfccaa7c75 (diff) | |
download | master-31e0f0ae-d138f99bb2325af7821b5ea592bf7e5602ef228e.tar.gz master-31e0f0ae-d138f99bb2325af7821b5ea592bf7e5602ef228e.tar.bz2 master-31e0f0ae-d138f99bb2325af7821b5ea592bf7e5602ef228e.zip |
generic-2.6: add 2.6.34 preliminary support (patches)
SVN-Revision: 20140
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.34/216-mini_fo_locking.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.34/216-mini_fo_locking.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.34/216-mini_fo_locking.patch b/target/linux/generic-2.6/patches-2.6.34/216-mini_fo_locking.patch new file mode 100644 index 0000000000..4f075920fb --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.34/216-mini_fo_locking.patch @@ -0,0 +1,25 @@ +--- a/fs/mini_fo/state.c ++++ b/fs/mini_fo/state.c +@@ -537,17 +537,17 @@ int nondir_mod_to_del(dentry_t *dentry) + dtohd(dentry) = NULL; + dtost(dentry) = DELETED; + +- /* add deleted file to META-file */ +- meta_add_d_entry(dentry->d_parent, +- dentry->d_name.name, +- dentry->d_name.len); +- + /* was: unlock_dir(hidden_sto_dir_dentry); */ + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) + mutex_unlock(&hidden_sto_dir_dentry->d_inode->i_mutex); + #else + up(&hidden_sto_dir_dentry->d_inode->i_sem); + #endif ++ /* add deleted file to META-file */ ++ meta_add_d_entry(dentry->d_parent, ++ dentry->d_name.name, ++ dentry->d_name.len); ++ + dput(hidden_sto_dir_dentry); + + out: |