diff options
author | David Howells <dhowells@redhat.com> | 2006-10-11 01:22:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 11:14:25 -0700 |
commit | edc666e2ff9ec2e4e9510f1127c68c22cffc93f6 (patch) | |
tree | 21d139e520a4a7fa79464bbe46e3df145a231d27 /fs/compat.c | |
parent | 9e42ef777f62277ea9bb70976be65bb374e00b9c (diff) | |
download | op-kernel-dev-edc666e2ff9ec2e4e9510f1127c68c22cffc93f6.zip op-kernel-dev-edc666e2ff9ec2e4e9510f1127c68c22cffc93f6.tar.gz |
[PATCH] ReiserFS: Make sure all dentries refs are released before calling kill_block_super()
Make sure all dentries refs are released before calling kill_block_super()
so that the assumption that generic_shutdown_super() can completely destroy
the dentry tree for there will be no external references holds true.
What was being done in the put_super() superblock op, is now done in the
kill_sb() filesystem op instead, prior to calling kill_block_super().
Changes made in [try #2]:
(*) reiserfs_kill_sb() now checks that the superblock FS info pointer is set
before trying to dereference it.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions