]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/ext2fs.h
AOSP: libext2fs: add context to get_alloc_block
authorAdrien Schildknecht <adriens@google.com>
Wed, 23 Nov 2016 21:02:16 +0000 (13:02 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 24 May 2017 01:33:39 +0000 (21:33 -0400)
commit3fc469968284310acec1256a5285fba4b71ac026
treeac8f037a255d66de8c9c6039b2a1d933c84cbe4e
parent105cdfe5a04608da3858e8b57e4032507bbac5fa
AOSP: libext2fs: add context to get_alloc_block

This patch add some contexts to the allocator about the block that is about
to be allocated.

The custom Android block allocator need a way to differentiate data block
and metadata block.

Test: cd external/e2fsprogs/lib && mma

Change-Id: I2899936a3a0043d26e062bf1e542483e9a6ac98f
From AOSP commit: 127a599529a0c31d8e3bc4da82a5debd670254b6

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/alloc.c
lib/ext2fs/bmap.c
lib/ext2fs/ext2fs.h