aboutsummaryrefslogtreecommitdiff
path: root/debugfs/quota.c
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@dilger.ca>2014-05-20 16:30:35 -0600
committerTheodore Ts'o <tytso@mit.edu>2014-05-22 17:54:36 -0400
commit9d8cd8c461136d2a2c4bf0879a792c227665b31c (patch)
treee938f382bf73b2e7ae32abd520e1d08236f3b949 /debugfs/quota.c
parent90c5b4c9de8ea43e0994cc3a07cdc4c4c777623c (diff)
downloade2fsprogs-9d8cd8c461136d2a2c4bf0879a792c227665b31c.tar.gz
debugfs: fix filehandle leak in copy_file()
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> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'debugfs/quota.c')
0 files changed, 0 insertions, 0 deletions