fix unbalanced mutex_lock/mutex_unlock in mini_fo getxattr op. Thanks Daniel Dickinson for tracking this down

SVN-Revision: 24906
master
Jo-Philipp Wich 14 years ago
parent dcec7f5e20
commit e8cee6c850
  1. 2
      target/linux/generic/patches-2.6.30/209-mini_fo.patch
  2. 2
      target/linux/generic/patches-2.6.31/209-mini_fo.patch
  3. 2
      target/linux/generic/patches-2.6.32/209-mini_fo.patch
  4. 2
      target/linux/generic/patches-2.6.34/209-mini_fo.patch
  5. 2
      target/linux/generic/patches-2.6.35/209-mini_fo.patch
  6. 2
      target/linux/generic/patches-2.6.36/209-mini_fo.patch
  7. 2
      target/linux/generic/patches-2.6.37/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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

Loading…
Cancel
Save