X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c5552ad03973839d83d32d7108f20c00f192633b..c8b7636f71869976864e09ba2647bc8576c56540:/target/linux/generic/patches-2.6.32/209-mini_fo.patch?ds=inline diff --git a/target/linux/generic/patches-2.6.32/209-mini_fo.patch b/target/linux/generic/patches-2.6.32/209-mini_fo.patch index 0b4091c64..8f9140ac5 100644 --- a/target/linux/generic/patches-2.6.32/209-mini_fo.patch +++ b/target/linux/generic/patches-2.6.32/209-mini_fo.patch @@ -3454,7 +3454,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