diff options
author | Colin Cross <ccross@android.com> | 2012-04-23 23:20:48 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-07-17 17:50:27 -0700 |
commit | dc5abeee1e6fc4827ee0d5ece12aaed2dd56f4c7 (patch) | |
tree | 5e8be9fd2002c3b15a51673a359398aa7583c51e /ext4_utils/extent.c | |
parent | d2b6666effb387c9052cd63378c6d5ddd1c0d1c7 (diff) | |
download | extras-dc5abeee1e6fc4827ee0d5ece12aaed2dd56f4c7.tar.gz |
Refactor sparse file support into libsparse
Minimal refactoring of output_file.c into libsparse in preparation
for completely separating libsparse from ext4_utils.
Moves output_file.c, backed_block.c, and parts of ext4_utils.c
into libsparse. The only changes to the remanining files in
ext4_utils are using the new sparse.h header, and moving the
wipe call out of output_file.c and into make_ext4fs.c.
Change-Id: I1f66f6c3e05230a350023c5b4ea4422f16a73c4b
Diffstat (limited to 'ext4_utils/extent.c')
-rw-r--r-- | ext4_utils/extent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext4_utils/extent.c b/ext4_utils/extent.c index daa25413..905a378b 100644 --- a/ext4_utils/extent.c +++ b/ext4_utils/extent.c @@ -17,9 +17,10 @@ #include "ext4_utils.h" #include "ext4.h" #include "ext4_extents.h" -#include "backed_block.h" #include "extent.h" +#include <sparse/sparse.h> + #include <stdlib.h> #include <stdio.h> |