Skip to contentSkip to conversation

AFS: Write back dirty data on unmount

PATCH New David Howells 1 participant 1 message May 15, 2007

Subsystems (2)
lore
Share & tools
lore

David Howells

author maintainer
#0 lore raw

PATCH 1/1 AFS: Write back dirty data on unmount

Fix AFS to write back dirty on unmounting. This didn't happen because afs_super_ops.drop_inode was pointing to generic_delete_inode. Now this pointer is left set to NULL so that the default behaviour occurs instead.

---

 fs/afs/super.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/afs/super.c +0 -1
index 579af63..370cecc 100644
@@ -47,7 +47,6 @@ struct file_system_type afs_fs_type = {
 static const struct super_operations afs_super_ops = {
 	.statfs		= afs_statfs,
 	.alloc_inode	= afs_alloc_inode,
-	.drop_inode	= generic_delete_inode,
 	.write_inode	= afs_write_inode,
 	.destroy_inode	= afs_destroy_inode,
 	.clear_inode	= afs_clear_inode,