Hi,
On Sat, Apr 01, 2000 at 03:20:59PM -0700, Jeff V. Merkey wrote:
>
> This is probably easier than the patch I've been working on today. Do I
> need to hold lock_kernel() over the gen_disk head (I assume so)?
Yep. The lock is needed to walk over or to modify the list, but not
to access any individual gendisk struct you already have a pointer to.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:08 EST