Re: [PATCH] ovl: set lower layer st_dev only if setting lower st_ino

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

 



On Wed, Apr 11, 2018 at 8:09 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
> For broken hardlinks, we do not return lower st_ino, so we should
> also not return lower pseudo st_dev.
>
> Fixes: a0c5ad307ac0 ("ovl: relax same fs constraint for constant st_ino")
> Cc: <stable@xxxxxxxxxxxxxxx> #v4.15
> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx>
> ---
>  fs/overlayfs/inode.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
>
> Miklos,
>
> This fixes a very obvious (to me) bug.
>
> I have a WIP unionmount-testsuite check for this.
> Will sort it out and push it to my tree later.
>
> Also pushed ovl-xino branch rebased on this bug fix.
>

OOPS, just saw that ovl-xino is already in overlayfs-next,
I can rebase the fix and re-send tomorrow.

Thanks,
Amir.
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux