Re: [RFC] how to fix is_local_disk()?

From: viro@parcelfarce.linux.theplanet.co.uk
Date: Mon May 05 2003 - 02:41:31 EST


On Sun, May 04, 2003 at 02:05:37PM -0700, Andrew Morton wrote:
 
> About half of the s_umount grabbers perform that check. The others might be
> buggy. I'm not sure - it's all rather gunky in there and hard to tell what
> the rules are.

Very simple, actually - if you are holding an active reference, no checks
are needed. If you do not (as in this case) - you need to check that
filesystem is not in the middle of shutdown after getting ->s_umount.
-
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 May 07 2003 - 22:00:21 EST