SOURCES: aufs-spin_lock.patch (NEW) - spin_lock conflict with unionfs

zbyniu zbyniu at pld-linux.org
Tue May 27 10:18:05 CEST 2008


Author: zbyniu                       Date: Tue May 27 08:18:04 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- spin_lock conflict with unionfs

---- Files affected:
SOURCES:
   aufs-spin_lock.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/aufs-spin_lock.patch
diff -u /dev/null SOURCES/aufs-spin_lock.patch:1.1
--- /dev/null	Tue May 27 10:18:05 2008
+++ SOURCES/aufs-spin_lock.patch	Tue May 27 10:17:59 2008
@@ -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)
================================================================


More information about the pld-cvs-commit mailing list