udf: Skip parent dir link count update if corrupted

[ Upstream commit c5566903af ]

If the parent directory link count is too low (likely directory inode
corruption), just skip updating its link count as if it goes to 0 too
early it can cause unexpected issues.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jan Kara 2024-11-26 12:46:00 +01:00 • committed by Greg Kroah-Hartman
commit 4d9b403474