]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()
authorRichard Weinberger <richard@nod.at>
Sun, 19 Jan 2020 21:52:33 +0000 (22:52 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 30 Mar 2020 20:59:23 +0000 (22:59 +0200)
commit4ab25ac8b2b5514151d5f91cf9514df08dd26938
tree0cf27ef126478367f761012173834bdf3634cd84
parent16fbf79b0f83bc752cee8589279f1ebfe57b3b6e
ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()

Orphans are allowed to point to deleted inodes.
So -ENOENT is not a fatal error.

Reported-by: Кочетков Максим <fido_max@inbox.ru>
Reported-and-tested-by: "Christian Berger" <Christian.Berger@de.bosch.com>
Tested-by: Karl Olsen <karl@micro-technic.com>
Tested-by: Jef Driesen <jef.driesen@niko.eu>
Fixes: ee1438ce5dc4 ("ubifs: Check link count of inodes when killing orphans.")
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/orphan.c