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:<syzbot+3ff7365dc04a6bcafa66@syzkaller.appspotmail.com> Signed-off-by:
Jan Kara <jack@suse.cz>
Loading
Please sign in to comment