]> git.pld-linux.org Git - packages/aufs.git/commitdiff
- spin_lock conflict with unionfs
authorzbyniu <zbyniu@pld-linux.org>
Tue, 27 May 2008 08:17:59 +0000 (08:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aufs-spin_lock.patch -> 1.1

aufs-spin_lock.patch [new file with mode: 0644]

diff --git a/aufs-spin_lock.patch b/aufs-spin_lock.patch
new file mode 100644 (file)
index 0000000..2ecf19b
--- /dev/null
@@ -0,0 +1,17 @@
+--- aufs/fs/aufs25/cpup.c~     2008-05-26 06:04:48.000000000 +0200
++++ aufs/fs/aufs25/cpup.c      2008-05-27 09:59:54.461647067 +0200
+@@ -31,14 +31,7 @@
+ static void au_fsstack_copy_inode_size(struct inode *inode,
+                                      struct inode *h_inode)
+ {
+-      /* this spin_lock conflicts the new unionfs patch in -mm tree */
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) || !defined(MmTree)
+-      spin_lock(&inode->i_lock);
+       fsstack_copy_inode_size(inode, h_inode);
+-      spin_unlock(&inode->i_lock);
+-#else
+-      fsstack_copy_inode_size(inode, h_inode);
+-#endif
+ }
+ void au_cpup_attr_timesizes(struct inode *inode)
This page took 0.084608 seconds and 4 git commands to generate.