Re: [PATCH 1/1] ovl: Put upperdentry if ovl_check_origin() fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 8, 2017 at 4:27 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:
> On Wed, Nov 01, 2017 at 03:37:22PM -0400, Vivek Goyal wrote:
>> If ovl_check_origin() fails, we should put upperdentry. We have a reference
>> on it by now. So goto out_put_upper instead of out.
>>
>> Fixes: a9d019573e88 ("ovl: lookup non-dir copy-up-origin by file handle")
>> Cc: <stable@xxxxxxxxxxxxxxx> #4.12
>> Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
>
> Hi Amir, Miklos,
>
> Does this patch look fine? I think its a simple bug fix and should go
> in 4.15.
>


Agreed.

Amir.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]