Re: possible race condition in vfs code

From: viro@parcelfarce.linux.theplanet.co.uk
Date: Tue Apr 29 2003 - 18:03:16 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:33 EST