Messages in this thread Patch in this message | | | Date | Tue, 3 Mar 2015 08:49:10 +0530 | From | Tapasweni Pathak <> | Subject | [PATCH] kernel: Unlock after locking |
| |
Release lock before returning.
Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> --- I'm not sure if this is a bug, it seems like it is intentional, but there is no comment or anything like that which confirms this.
kernel/acct.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/kernel/acct.c b/kernel/acct.c index e6c10d1a..f592218 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -161,6 +161,7 @@ again: acct_put(res); goto again; } + mutex_unlock(&res->lock); return res; }
-- 1.7.9.5
| |