summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-11-25 21:23:18 -0500
committerTheodore Ts'o <tytso@mit.edu>2011-11-25 21:23:18 -0500
commit5fff8636e54f762fcfe7312ec7c0428924ff7292 (patch)
treef5322502569994a7662291cd43d12143f9dc2d27
parent930d7a7fb777c4558b5417ae00a4cf57b10169a2 (diff)
downloade2fsprogs-5fff8636e54f762fcfe7312ec7c0428924ff7292.tar.gz
libext2fs: move mmp fields to preserve structure layout of ext2_filsys
This helps provide better ABI compatibility for e2fsprogs 1.42. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--lib/ext2fs/ext2fs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h
index 08f19463..227ee582 100644
--- a/lib/ext2fs/ext2fs.h
+++ b/lib/ext2fs/ext2fs.h
@@ -261,6 +261,13 @@ struct struct_ext2_filsys {
io_channel image_io;
/*
+ * More callback functions
+ */
+ errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal,
+ blk64_t *ret);
+ void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse);
+
+ /*
* Buffers for Multiple mount protection(MMP) block.
*/
void *mmp_buf;
@@ -271,13 +278,6 @@ struct struct_ext2_filsys {
* Time at which e2fsck last updated the MMP block.
*/
long mmp_last_written;
-
- /*
- * More callback functions
- */
- errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal,
- blk64_t *ret);
- void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse);
};
#if EXT2_FLAT_INCLUDES