Whamcloud - gitweb
libext2fs: use block_buf in ext2fs_alloc_block2() if it is provided
authorTheodore Ts'o <tytso@mit.edu>
Sat, 13 Dec 2014 03:12:45 +0000 (22:12 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 13 Dec 2014 03:12:45 +0000 (22:12 -0500)
commitbc57b123d61f49cddcc3fb594fda2dcf589f9b38
tree1abb5a70778ce3fba7156238f93e5d5793dcdd6f
parent0a92af260da381e2581074871707e487728373ad
libext2fs: use block_buf in ext2fs_alloc_block2() if it is provided

If the caller supplies a buffer to ext2fs_alloc_block2(), use it
instead of calling ext2fs_zero_blocks2().

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