mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Fabian Frederick <fabf@skynet.be>
Cc: linux-kernel@vger.kernel.org, Jan Kara <jack@suse.cz>
Subject: Re: [PATCH 1/1 linux-next] udf: remove double err declaration in udf_file_write_iter()
Date: Mon, 18 May 2015 08:16:48 +0200	[thread overview]
Message-ID: <20150518061648.GA26351@quack.suse.cz> (raw)
In-Reply-To: <1431725188-31439-1-git-send-email-fabf@skynet.be>

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@skynet.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@suse.cz>
SUSE Labs, CR

      reply	other threads:[~2015-05-18  6:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-15 21:26 Fabian Frederick
2015-05-18  6:16 ` Jan Kara [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=20150518061648.GA26351@quack.suse.cz \
    --to=jack@suse.cz \
    --cc=fabf@skynet.be \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®