]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/ext2fs.h
Teach ext2fs_extent_insert() to split the current node if necessary
authorEric Sandeen <sandeen@redhat.com>
Tue, 20 May 2008 15:15:27 +0000 (10:15 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 2 Jun 2008 14:14:08 +0000 (10:14 -0400)
commit01229db57ee71518f81d87d6bf900c62fe1de100
treec0b8865d809bf45644f773639860238dc334d9d4
parent9fd6a96d9bf089d8d0ece3bba23b0ef19d03c102
Teach ext2fs_extent_insert() to split the current node if necessary

If ext2fs_extent_insert finds that the requested node
for insertion is full, it will currently fail.

With this patch it will split as necessary to make room, unless an
EXT2_EXTENT_INSERT_NOSPLIT flag is passed to it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/extent.c