From: Andrey Savochkin <saw@saw.sw.com.sg>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [patch] unpaired lock/unlock_kernel in fs/locks.c
Date: Fri, 15 Jun 2001 20:23:33 -0400 [thread overview]
Message-ID: <20010615202333.A24765@saw.sw.com.sg> (raw)
Please apply the fix for unpaired lock/unlock_kernel in fs/locks.c
Andrey
--- fs/locks.c~ Fri Jun 15 17:14:05 2001
+++ fs/locks.c Fri Jun 15 19:16:31 2001
@@ -856,7 +856,7 @@
new_fl2 = locks_alloc_lock(0);
error = -ENOLCK; /* "no luck" */
if (!(new_fl && new_fl2))
- goto out;
+ goto out_nolock;
lock_kernel();
if (caller->fl_type != F_UNLCK) {
@@ -1004,6 +1004,7 @@
}
out:
unlock_kernel();
+out_nolock:
/*
* Free any unused locks.
*/
reply other threads:[~2001-06-16 0:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010615202333.A24765@saw.sw.com.sg \
--to=saw@saw.sw.com.sg \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®