[generic] fix unbalanced mutex_lock/mutex_unlock in mini_fo getxattr op. Thanks Danie...
[openwrt.git] / target / linux / generic / patches-2.6.35 / 209-mini_fo.patch
index d7e3220..f158778 100644 (file)
 +              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
This page took 0.019818 seconds and 4 git commands to generate.