Re: [PATCH] proper lseek locking in ALSA, take 3

From: Jaroslav Kysela (perex@suse.cz)
Date: Wed Feb 20 2002 - 15:04:59 EST


On 20 Feb 2002, Robert Love wrote:

> The attached patch implements proper locking in ALSA lseek methods.
> Note ALSA has 3 lseek implementations, but only:
>
> sound/core/info.c :: snd_info_entry_llseek()
>
> requires locking. I wrapped the function in the BKL. According to
> Jaroslav Kysela the gus_mem_proc method is only called from above. The
> third lseek, in hwdep.c, clearly doesn't need locking. Without this
> patch, the above lseek is not safe.
>
> Patch is against 2.5.5, please apply.

We have this patch already in our ALSA CVS tree, so it will be commited to
Linus in next patch round. Thanks.

                                                Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

-
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 : Sat Feb 23 2002 - 21:00:27 EST