[PATCH] ubifs: fix RENAME_WHITEOUT support

Richard Weinberger richard at nod.at
Wed Mar 29 08:26:12 PDT 2017


Felix,

Am 06.03.2017 um 10:46 schrieb Felix Fietkau:
> On 2017-03-06 10:35, Richard Weinberger wrote:
>> Am 06.03.2017 um 10:04 schrieb Felix Fietkau:
>>> 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")
>>
>> Good find, thank you Felix.
>>
>>> Fixes: 9e0a1fff8db5 ("ubifs: Implement RENAME_WHITEOUT")
>>
>> Why not f03b8ad8d386?
>> This commit adds the check and I oversaw that. ;-\
> It seems that the merge of both commits is at fault. When I checked git
> log, f03b8ad8d386 came before 9e0a1fff8db5.

Yeah, the combination of both breaks it.
Let's get this into -rcX.

Thanks,
//richard



More information about the linux-mtd mailing list