From: Pavel Shilovsky <pshilovsky@samba.org>
To: Steve Dickson <SteveD@redhat.com>
Cc: linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org,
Jeff Layton <jlayton@samba.org>, Jeff Layton <jlayton@redhat.com>
Subject: [PATCH 1/5] tlock: munmap missed before close
Date: Wed, 6 Aug 2014 16:01:08 +0400 [thread overview]
Message-ID: <1407326472-13853-2-git-send-email-pshilovsky@samba.org> (raw)
In-Reply-To: <1407326472-13853-1-git-send-email-pshilovsky@samba.org>
From: Jeff Layton <jlayton@redhat.com>
test13 mmaps the testfile, but doesn't munmap it before returning.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
---
lock/tlock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lock/tlock.c b/lock/tlock.c
index 39a6ad9..6e19a3d 100644
--- a/lock/tlock.c
+++ b/lock/tlock.c
@@ -1509,6 +1509,7 @@ test13()
FATAL);
test(13, 4, F_TLOCK, (off_t)mappedlen - 2, (off_t)END,
lock1err, WARN);
+ testmunmap();
close_testfile(DO_UNLINK);
childfree(0);
--
1.8.1.2
next prev parent reply other threads:[~2014-08-06 12:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-06 12:01 [PATCH 0/5] SMB/CIFS nounix support for Connectathon test suite Pavel Shilovsky
2014-08-06 12:01 ` Pavel Shilovsky [this message]
2014-08-06 12:01 ` [PATCH 2/5] Add SMB/CIFS mounts support Pavel Shilovsky
2014-08-06 12:01 ` [PATCH 3/5] Add capability to test SMB 2.0 and higher verions Pavel Shilovsky
2014-08-06 12:01 ` [PATCH 4/5] Add SMB/CIFS section in tests.init Pavel Shilovsky
2014-08-06 12:01 ` [PATCH 5/5] special: fix op_unlk and op_ren tests output Pavel Shilovsky
2014-08-12 16:44 ` Steve Dickson
2014-08-13 7:45 ` Pavel Shilovsky
2014-08-12 7:20 ` [PATCH 0/5] SMB/CIFS nounix support for Connectathon test suite Pavel Shilovsky
2014-08-12 10:57 ` Steve Dickson
2014-08-12 18:21 ` Steve Dickson
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=1407326472-13853-2-git-send-email-pshilovsky@samba.org \
--to=pshilovsky@samba.org \
--cc=SteveD@redhat.com \
--cc=jlayton@redhat.com \
--cc=jlayton@samba.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).