From: Steven Whitehouse <swhiteho@redhat.com> To: Dmitry Monakhov <dmonakhov@openvz.org>, linux-kernel@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, viro@zeniv.linux.org.uk Subject: Re: [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead of filp->fl_flags Date: Tue, 07 Apr 2015 14:11:47 +0100 [thread overview] Message-ID: <5523D793.7010008@redhat.com> (raw) In-Reply-To: <1428174805-853-9-git-send-email-dmonakhov@openvz.org> Hi, On 04/04/15 20:13, Dmitry Monakhov wrote: > Cc: cluster-devel@redhat.com > Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Acked-by: Steven Whitehouse <swhiteho@redhat.com> Steve. > --- > fs/gfs2/file.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c > index f6fc412..25da110 100644 > --- a/fs/gfs2/file.c > +++ b/fs/gfs2/file.c > @@ -709,7 +709,7 @@ static ssize_t gfs2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) > > gfs2_size_hint(file, iocb->ki_pos, iov_iter_count(from)); > > - if (file->f_flags & O_APPEND) { > + if (is_append_kiocb(iocb)) { > struct gfs2_holder gh; > > ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
WARNING: multiple messages have this Message-ID (diff)
From: Steven Whitehouse <swhiteho@redhat.com> To: cluster-devel.redhat.com Subject: [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead of filp->fl_flags Date: Tue, 07 Apr 2015 14:11:47 +0100 [thread overview] Message-ID: <5523D793.7010008@redhat.com> (raw) In-Reply-To: <1428174805-853-9-git-send-email-dmonakhov@openvz.org> Hi, On 04/04/15 20:13, Dmitry Monakhov wrote: > Cc: cluster-devel at redhat.com > Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Acked-by: Steven Whitehouse <swhiteho@redhat.com> Steve. > --- > fs/gfs2/file.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c > index f6fc412..25da110 100644 > --- a/fs/gfs2/file.c > +++ b/fs/gfs2/file.c > @@ -709,7 +709,7 @@ static ssize_t gfs2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) > > gfs2_size_hint(file, iocb->ki_pos, iov_iter_count(from)); > > - if (file->f_flags & O_APPEND) { > + if (is_append_kiocb(iocb)) { > struct gfs2_holder gh; > > ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh);
next prev parent reply other threads:[~2015-04-07 13:12 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-04-04 19:13 [PATCH 00/16] fs: fixup racy check file->f_flags for xxx_write_iter Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 01/16] fs: save file->f_flags to kiocb->ki_flags Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 02/16] vfs: check kiocb->ki_flags instead filp->fl_flags Dmitry Monakhov 2015-04-04 21:36 ` Al Viro 2015-04-05 11:03 ` Dmitry Monakhov 2015-04-05 18:11 ` Al Viro 2015-04-05 21:54 ` Al Viro 2015-04-04 19:13 ` [PATCH 03/16] ext4: use is_xxx_kiocb instead of filp->fl_flags Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 04/16] 9p: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 05/16] btrfs: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 06/16] ceph: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 07/16] cifs: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 08/16] gfs2: " Dmitry Monakhov 2015-04-04 19:13 ` [Cluster-devel] " Dmitry Monakhov 2015-04-07 13:11 ` Steven Whitehouse [this message] 2015-04-07 13:11 ` Steven Whitehouse 2015-04-04 19:13 ` [PATCH 09/16] nfs: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 10/16] ntfs: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 11/16] ocfs2: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 12/16] udf: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 13/16] xfs: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 14/16] fuse: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 15/16] pipe: " Dmitry Monakhov 2015-04-04 19:13 ` [PATCH 16/16] splice: fix race beween splice_write vs fcntl(,F_SETFL,) Dmitry Monakhov
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=5523D793.7010008@redhat.com \ --to=swhiteho@redhat.com \ --cc=cluster-devel@redhat.com \ --cc=dmonakhov@openvz.org \ --cc=linux-fsdevel@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=viro@zeniv.linux.org.uk \ /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: linkBe 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.