[packages/kernel] - disable au_vm_prfile_set as this is only ugly workaround for lsof
arekm
arekm at pld-linux.org
Fri Jan 31 13:40:09 CET 2014
commit 17c3ba8815973b60d3f84e2ba9a25af7ca8ee114
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Jan 31 13:39:56 2014 +0100
- disable au_vm_prfile_set as this is only ugly workaround for lsof
kernel-aufs3.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/kernel-aufs3.patch b/kernel-aufs3.patch
index 3a7860a..503e063 100644
--- a/kernel-aufs3.patch
+++ b/kernel-aufs3.patch
@@ -11381,7 +11381,7 @@ diff -urN /usr/share/empty/fs/aufs/file.h linux/fs/aufs/file.h
+#endif /* CONFIG_MMU */
+
+/* handle vma->vm_prfile */
-+static inline void au_vm_prfile_set(struct vm_area_struct *vma,
++/*static inline void au_vm_prfile_set(struct vm_area_struct *vma,
+ struct file *file)
+{
+ get_file(file);
@@ -11390,7 +11390,7 @@ diff -urN /usr/share/empty/fs/aufs/file.h linux/fs/aufs/file.h
+ get_file(file);
+ vma->vm_region->vm_prfile = file;
+#endif
-+}
++}*/
+
+#endif /* __KERNEL__ */
+#endif /* __AUFS_FILE_H__ */
@@ -12083,7 +12083,7 @@ diff -urN /usr/share/empty/fs/aufs/f_op.c linux/fs/aufs/f_op.c
+ if (unlikely(err))
+ goto out_reset;
+
-+ au_vm_prfile_set(vma, file);
++ // au_vm_prfile_set(vma, file);
+ /* update without lock, I don't think it a problem */
+ fsstack_copy_attr_atime(file_inode(file), file_inode(h_file));
+ goto out_fput; /* success */
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/17c3ba8815973b60d3f84e2ba9a25af7ca8ee114
More information about the pld-cvs-commit
mailing list