Commit 6756af92 authored by Jan Kara's avatar Jan Kara
Browse files

udf: Verify inode link counts before performing rename



During rename, we are updating link counts of various inodes either when
rename deletes target or when moving directory across directories.
Verify involved link counts are sane so that we don't trip warnings in
VFS.

Reported-by: default avatar <syzbot+3ff7365dc04a6bcafa66@syzkaller.appspotmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent c5566903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment