erofs-utils: lib: move buffer allocation into z_erofs_write_indexes()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 3 Apr 2025 08:14:02 +0000 (16:14 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 3 Apr 2025 08:18:50 +0000 (16:18 +0800)
commit7dd77b829c96f2ca5165addc3b6e50ee4a6bdde8
tree955a064346d56caa0fa555ae8c12975a79480a22
parentd1d98309fc503a2ae8f023203e70d639dc70c167
erofs-utils: lib: move buffer allocation into z_erofs_write_indexes()

Just used to prepare for extent-based metadata.  No logic changes.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250403081403.2671077-2-hsiangkao@linux.alibaba.com
lib/compress.c