ubifs: Fix RENAME_WHITEOUT support
authorFelix Fietkau <nbd@nbd.name>
Mon, 6 Mar 2017 09:04:25 +0000 (10:04 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 30 Mar 2017 07:28:02 +0000 (09:28 +0200)
commitc3d9fda688742c06e89aa1f0f8fd943fc11468cb
tree096708d4b04cf9637409b127dcb78340e6341723
parent33fda9fa9fb081fae165348f32e3244414991fad
ubifs: Fix RENAME_WHITEOUT support

Remove faulty leftover check in do_rename(), apparently introduced in a
merge that combined whiteout support changes with commit f03b8ad8d386
("fs: support RENAME_NOREPLACE for local filesystems")

Fixes: f03b8ad8d386 ("fs: support RENAME_NOREPLACE for local
filesystems")
Fixes: 9e0a1fff8db5 ("ubifs: Implement RENAME_WHITEOUT")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c