* [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead of filp->fl_flags [not found] <1428174805-853-1-git-send-email-dmonakhov@openvz.org> @ 2015-04-04 19:13 ` Dmitry Monakhov 2015-04-07 13:11 ` Steven Whitehouse 0 siblings, 1 reply; 2+ messages in thread From: Dmitry Monakhov @ 2015-04-04 19:13 UTC (permalink / raw) To: cluster-devel.redhat.com Cc: cluster-devel at redhat.com Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> --- 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); -- 1.7.1 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead of filp->fl_flags 2015-04-04 19:13 ` [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead of filp->fl_flags Dmitry Monakhov @ 2015-04-07 13:11 ` Steven Whitehouse 0 siblings, 0 replies; 2+ messages in thread From: Steven Whitehouse @ 2015-04-07 13:11 UTC (permalink / raw) To: cluster-devel.redhat.com 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); ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-07 13:11 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1428174805-853-1-git-send-email-dmonakhov@openvz.org> 2015-04-04 19:13 ` [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead of filp->fl_flags Dmitry Monakhov 2015-04-07 13:11 ` Steven Whitehouse
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).