lkml.org 
[lkml]   [2003]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.051 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site