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: <20150518061648.GA26351@quack.suse.cz>
Date:	Mon, 18 May 2015 08:16:48 +0200
From:	Jan Kara <jack@...e.cz>
To:	Fabian Frederick <fabf@...net.be>
Cc:	linux-kernel@...r.kernel.org, Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 1/1 linux-next] udf: remove double err declaration in
 udf_file_write_iter()

On Fri 15-05-15 23:26:28, Fabian Frederick wrote:
> Use first err declaration for generic_write_sync() return value.
  Thanks. I've merged the patch.

								Honza

> 
> Signed-off-by: Fabian Frederick <fabf@...net.be>
> ---
>  fs/udf/file.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/fs/udf/file.c b/fs/udf/file.c
> index 7a95b8f..bddf3d0 100644
> --- a/fs/udf/file.c
> +++ b/fs/udf/file.c
> @@ -152,8 +152,6 @@ out:
>  	mutex_unlock(&inode->i_mutex);
>  
>  	if (retval > 0) {
> -		ssize_t err;
> -
>  		mark_inode_dirty(inode);
>  		err = generic_write_sync(file, iocb->ki_pos - retval, retval);
>  		if (err < 0)
> -- 
> 2.4.0
> 
-- 
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
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