commit | 63049084e654570cd13155ad8bf6de17230bf117 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Feb 20 14:08:17 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sat Feb 22 09:21:00 2020 -0800 |
tree | def8a8f6ab8c4bd4dedc7d3ffa67a6850be903a9 | |
parent | 247f1c83b5e5674166403b6a46456085d93bdab2 [diff] |
libxfs: clean up libxfs_destroy It's weird that libxfs_init opens the three devices passed in via the libxfs_xinit structure but libxfs_destroy doesn't actually close them. Fix this inconsistency and remove all the open-coded device closing. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>