commit | ddbe78528f664a43c447e5ffeb0b89fe9fed515d | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 12 12:50:58 2013 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Dec 12 12:51:01 2013 -0500 |
tree | b930581aab336374d94d3bde1a135e16f6847933 | |
parent | 56fa48879641603f2a3814fbe130ab2a29dcf411 [diff] |
debugfs: don't leak fd when calling dump_file The caller of dump_file provides a fd to write to, so the caller should also dispose of the fd. Also, the fd never gets closed if preserve=1. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>