lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5523D793.7010008@redhat.com>
Date:	Tue, 07 Apr 2015 14:11:47 +0100
From:	Steven Whitehouse <swhiteho@...hat.com>
To:	Dmitry Monakhov <dmonakhov@...nvz.org>,
	linux-kernel@...r.kernel.org
CC:	linux-fsdevel@...r.kernel.org, cluster-devel@...hat.com,
	viro@...iv.linux.org.uk
Subject: Re: [Cluster-devel] [PATCH 08/16] gfs2: use is_xxx_kiocb instead
 of filp->fl_flags

Hi,

On 04/04/15 20:13, Dmitry Monakhov wrote:
> Cc: cluster-devel@...hat.com
> Signed-off-by: Dmitry Monakhov <dmonakhov@...nvz.org>
Acked-by: Steven Whitehouse <swhiteho@...hat.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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ