commit 88cac507716fee852d3752dbcf169e2cee03f60b
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Thu May 3 21:42:11 2007 -0400
bugfix: removed unionfs_put_inode which does not apply anymore (must have
been
done for very old kernels) and causes dirty pages not to be written on
umounts
diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 79114a9..7a2da57 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -61,6 +61,10 @@ static void unionfs_read_inode(struct inode *inode)
inode->i_mapping->a_ops = &unionfs_aops;
}
+#if 0
+/* This does not seem to apply anymore, it must have been true for 2.4.x
+ * kernels and it causes dirty pages not to be written on umounts
+ */
static void unionfs_put_inode(struct inode *inode)
{
/*
@@ -79,6 +83,7 @@ static void unionfs_put_inode(struct inode *inode)
if (atomic_read(&inode->i_count) == 1)
inode->i_nlink = 0;
}
+#endif
/*
* we now define delete_inode, because there are two VFS paths that may
@@ -1007,7 +1012,9 @@ out:
struct super_operations unionfs_sops = {
.read_inode = unionfs_read_inode,
+#if 0
.put_inode = unionfs_put_inode,
+#endif
.delete_inode = unionfs_delete_inode,
.put_super = unionfs_put_super,
.statfs = unionfs_statfs,
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs