lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Does the block layer prevent races between open() and unregister()?
From"Yury V. Umanets" <>
DateWed, 03 Mar 2004 10:06:48 +0200
On Sat, 2004-02-28 at 06:05, Alan Stern wrote:
> A classic race that all drivers for hot-unpluggable devices have to deal 
> with is the race between open() and unregister() (or disconnect()).
> 
> Does the block layer have any mechanism to prevent such races?  Or does it 
> rely on the lower-level drivers handling such things by themselves?
According to usb-skel driver, nobody cares about.

> 
> Alan Stern
> 
> -
> 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/
-- 
umka

-
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:01    [from the cache]
©2003-2008