From 0b6929cd15fdc6078eec3f53b7251628c09a919e Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Tue, 2 May 2006 15:33:25 +0200 Subject: [PATCH] --- yaml --- r: 28485 b: refs/heads/master c: f4a747f155fe375231196ec3d26fcb6e3675d82f h: refs/heads/master i: 28483: bb257d7794c3ed59b769a76c4dcde1823a23fc78 v: v3 --- [refs] | 2 +- trunk/sound/core/info.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8e581338027d..4b83a0f600cc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 170a34605c14a90df5f4a78e0b4ca643be6ef8ba +refs/heads/master: f4a747f155fe375231196ec3d26fcb6e3675d82f diff --git a/trunk/sound/core/info.c b/trunk/sound/core/info.c index 4188f76add75..c8eeaea9d695 100644 --- a/trunk/sound/core/info.c +++ b/trunk/sound/core/info.c @@ -267,7 +267,7 @@ static ssize_t snd_info_entry_write(struct file *file, const char __user *buffer buf = data->wbuffer; if (buf == NULL) return -EIO; - mutex_unlock(&entry->access); + mutex_lock(&entry->access); if (pos + count >= buf->len) { if (resize_info_buffer(buf, pos + count)) { mutex_unlock(&entry->access);