From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/flock: open test file with O_RDWR mode
Date: Wed, 7 Jun 2017 06:58:11 -0400 (EDT) [thread overview]
Message-ID: <1358956478.30873513.1496833091191.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20170605142540.GL19952@eguan.usersys.redhat.com>
----- Original Message -----
> On Thu, May 18, 2017 at 01:09:56AM +0800, Eryu Guan wrote:
> > NFS requires the open mode to match the lock type, i.e. for LOCK_SH
> > file must be opened for read, and for LOCK_EX file must be opened
> > for write. Otherwise flock01 and flock04 fail on NFS with EBADF.
> >
> > So open all test files in flock tests with O_RDWR mode that both
> > lock type requirements can be met.
> >
> > Signed-off-by: Eryu Guan <eguan@redhat.com>
>
> ping on this one.
Pushed.
Thanks,
Jan
prev parent reply other threads:[~2017-06-07 10:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 17:09 [LTP] [PATCH] syscalls/flock: open test file with O_RDWR mode Eryu Guan
2017-06-05 14:25 ` Eryu Guan
2017-06-07 10:58 ` Jan Stancek [this message]
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=1358956478.30873513.1496833091191.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/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