diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-05 03:07:56 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-05 03:07:56 +0000 |
commit | 5ceda5f233e5d6d0c21f40c5d75e5a785bb45cb6 (patch) | |
tree | 764b2e48a5b91fcb2dbea10f6aadf09e7b181ddc /target/linux/generic/patches-2.6.34/209-mini_fo.patch | |
parent | 5526bb9258b81c8e123c1683b942f003f1eaa531 (diff) |
[generic] fix unbalanced mutex_lock/mutex_unlock in mini_fo getxattr op. Thanks Daniel Dickinson for tracking this down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.34/209-mini_fo.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.34/209-mini_fo.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-2.6.34/209-mini_fo.patch b/target/linux/generic/patches-2.6.34/209-mini_fo.patch index d7e3220d2..f1587786d 100644 --- a/target/linux/generic/patches-2.6.34/209-mini_fo.patch +++ b/target/linux/generic/patches-2.6.34/209-mini_fo.patch @@ -3456,7 +3456,7 @@ + err = hidden_dentry->d_inode->i_op->getxattr(hidden_dentry, encoded_name, encoded_value, size); + /* unlock_kernel() will be done by caller. */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) -+ mutex_lock(&hidden_dentry->d_inode->i_mutex); ++ mutex_unlock(&hidden_dentry->d_inode->i_mutex); +#else + up(&hidden_dentry->d_inode->i_sem); +#endif |