Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libf2fs: Fix possible memleak with Sparse Files
If sparse files is set along with multiple devices, we initialize sparse file data multiple times without freeing the previously allocated data. This skips the initialization for subsequent devices, as sparse file mode currently only deals with device 0 anyways. Signed-off-by: Daniel Rosenberg <drosen@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
- Loading branch information