Re: possible race condition in vfs code

viro@parcelfarce.linux.theplanet.co.uk
Wed, 30 Apr 2003 00:03:16 +0100


On Wed, Apr 30, 2003 at 01:51:42AM +0300, Mika Penttilä wrote:
> That piece of code looks wrong in other ways also..if we have unmounted
> an active fs (which shouldn't be done but happens!) we shouldn't be at
> least writing back to it anything! The !sb test isn't useful (we never
> clear it in live inodes) and MS_ACTIVE handling is racy as hell wrt
> umount...

Would you mind actually _reading_ kill_super() and stuff called by it?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/