]> git.pld-linux.org Git - packages/aufs.git/blob - aufs-spin_lock.patch
- spin_lock conflict with unionfs
[packages/aufs.git] / aufs-spin_lock.patch
1 --- aufs/fs/aufs25/cpup.c~      2008-05-26 06:04:48.000000000 +0200
2 +++ aufs/fs/aufs25/cpup.c       2008-05-27 09:59:54.461647067 +0200
3 @@ -31,14 +31,7 @@
4  static void au_fsstack_copy_inode_size(struct inode *inode,
5                                        struct inode *h_inode)
6  {
7 -       /* this spin_lock conflicts the new unionfs patch in -mm tree */
8 -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) || !defined(MmTree)
9 -       spin_lock(&inode->i_lock);
10         fsstack_copy_inode_size(inode, h_inode);
11 -       spin_unlock(&inode->i_lock);
12 -#else
13 -       fsstack_copy_inode_size(inode, h_inode);
14 -#endif
15  }
16  
17  void au_cpup_attr_timesizes(struct inode *inode)
This page took 0.048894 seconds and 3 git commands to generate.