From: Theodore Ts'o <tytso@mit.edu>
To: Andreas Dilger <adilger@dilger.ca>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] debugfs: fix filehandle leak in copy_file()
Date: Thu, 22 May 2014 17:55:40 -0400 [thread overview]
Message-ID: <20140522215540.GD11448@thunk.org> (raw)
In-Reply-To: <1400625035-61772-1-git-send-email-adilger@dilger.ca>
On Tue, May 20, 2014 at 04:30:35PM -0600, Andreas Dilger wrote:
> Fix a file handle leak for the target file in copy_file() when error
> handlers return without closing the file. Instead, clean up at the
> end of the function to handle cleanup in normal and error cases.
>
> Minor other code style cleanups.
>
> Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Thanks, applied.
- Ted
prev parent reply other threads:[~2014-05-22 21:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-20 22:30 [PATCH] debugfs: fix filehandle leak in copy_file() Andreas Dilger
2014-05-22 21:55 ` Theodore Ts'o [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=20140522215540.GD11448@thunk.org \
--to=tytso@mit.edu \
--cc=adilger@dilger.ca \
--cc=linux-ext4@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 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.