From: wengang wang <wen.gang.wang@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] ocfs2: error handling for ocfs2_setup_io_locks()
Date: Tue, 24 Jun 2008 14:34:39 +0800 [thread overview]
Message-ID: <4860957F.7000508@oracle.com> (raw)
in case of no-memory, ocfs2_buffer_lock_ctxt_insert may returns -ENOMEM;
then there may leave an unexpected up_read() on mm->mmap_sem.
this patch fixes that problem.
this patch is based on 1.2 svn.
since this code is removed in kernel mainline source, no patch for mainline.
Signed-off-by Wenwen Wang <wen.gang.wang@oracle.com>
---
mmap.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mmap.patch
Url: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20080624/7a9a9b4b/attachment.pl
reply other threads:[~2008-06-24 6:34 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=4860957F.7000508@oracle.com \
--to=wen.gang.wang@oracle.com \
--cc=ocfs2-devel@oss.oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.