diff options
author | David Howells <dhowells@redhat.com> | 2007-05-16 02:57:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-17 00:19:15 -0400 |
commit | faab83bbcd9e001077e42a7c085f1e871997647f (patch) | |
tree | a3e41d25524d75a9f4ca2ec88ca51cad0e728936 | |
parent | 5b58e21a27028a9f0399449d8bc8494fd9d9ff70 (diff) |
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.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/afs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c index 579af632c8e8..370cecc910db 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c | |||
@@ -47,7 +47,6 @@ struct file_system_type afs_fs_type = { | |||
47 | static const struct super_operations afs_super_ops = { | 47 | static const struct super_operations afs_super_ops = { |
48 | .statfs = afs_statfs, | 48 | .statfs = afs_statfs, |
49 | .alloc_inode = afs_alloc_inode, | 49 | .alloc_inode = afs_alloc_inode, |
50 | .drop_inode = generic_delete_inode, | ||
51 | .write_inode = afs_write_inode, | 50 | .write_inode = afs_write_inode, |
52 | .destroy_inode = afs_destroy_inode, | 51 | .destroy_inode = afs_destroy_inode, |
53 | .clear_inode = afs_clear_inode, | 52 | .clear_inode = afs_clear_inode, |