Whamcloud - gitweb
libext2fs: fix ext2fs_orphan_file_block_csum_set()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 5 Dec 2024 21:34:42 +0000 (16:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 5 Dec 2024 21:34:42 +0000 (16:34 -0500)
commitdaf2d1c830d9fb778001493e76f820c6c00d22dd
treed0e7c34c4e4727c97cb40003c9230ed23d82a90d
parentcd25c242aae5651c948ca1b4ab3b516649f0887c
libext2fs: fix ext2fs_orphan_file_block_csum_set()

The function ext2fs_orphan_file_block_csum_set() isn't used by
e2fsprogs, but it was embarassingly broken.  Thanks to Darrick Wong
for pointing this out.

Fixes: 16534ff59444 ("e2fsck: fix big-endian support for orphan_file...")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/orphan.c