udf: Keep i_lenExtents consistent with the total length of extents
authorJan Kara <jack@suse.cz>
Wed, 21 Dec 2022 16:53:28 +0000 (17:53 +0100)
committerJan Kara <jack@suse.cz>
Mon, 9 Jan 2023 09:39:53 +0000 (10:39 +0100)
commitb316c443b4e85f67e34807e11ca90049d6f6a098
tree62816e9b9ea69718376f6959fae2d726abf04874
parente57191a8d40086537d505241a8ee49d8b62ce1d6
udf: Keep i_lenExtents consistent with the total length of extents

When rounding the last extent to blocksize in inode_getblk() we forgot
to update also i_lenExtents to match the new extent length. This
inconsistency can later confuse some assertion checks.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c