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

From: Rafael J. Wysocki
Date: Wed Aug 09 2006 - 17:54:46 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/