Re: [PATCH] ReiserFS: Make sure all dentries refs are released before calling kill_block_super() [try #2]

Rafael J. Wysocki
2006-08-09T21:57:13Z

On Wednesday 09 August 2006 15:43, David Howells wrote:
>
> 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.

This one works on my box just fine.

Thanks,
Rafael