Messages in this thread | | | Date | Wed, 20 Feb 2002 21:04:59 +0100 (CET) | From | Jaroslav Kysela <> | Subject | Re: [PATCH] proper lseek locking in ALSA, take 3 |
| |
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/
| |