aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJan Kara2022-01-18 09:57:25 +0100
committerJan Kara2022-01-24 14:45:02 +0100
commitea8569194b43f0f01f0a84c689388542c7254a1f (patch)
treebdabba9ed18aab1a83dfbef27495b955d42fbac6 /include/linux
parent7fc3b7c2981bbd1047916ade327beccb90994eee (diff)
udf: Restore i_lenAlloc when inode expansion fails
When we fail to expand inode from inline format to a normal format, we restore inode to contain the original inline formatting but we forgot to set i_lenAlloc back. The mismatch between i_lenAlloc and i_size was then causing further problems such as warnings and lost data down the line. Reported-by: butt3rflyh4ck <butterflyhuangxx@gmail.com> CC: stable@vger.kernel.org Fixes: 7e49b6f2480c ("udf: Convert UDF to new truncate calling sequence") Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions