Messages in this thread | | | Date | Mon, 5 May 2003 08:41:31 +0100 | From | viro@parcelfa ... | Subject | Re: [RFC] how to fix is_local_disk()? |
| |
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/
| |