Re: [gentoo-portage-dev] [PATCH] locks: handle sshfs hardlink inode numbers (bug 678218)

2019-02-18 Thread Zac Medico
On 2/18/19 8:57 AM, Brian Dolbec wrote: > On Sun, 17 Feb 2019 15:04:29 -0800 > Zac Medico wrote: > >> Since hardlinks on sshfs do not have matching inode numbers, detect >> this behavior and use a simple stat call to detect if lock_path has >> been removed. >> >> Bug:

Re: [gentoo-portage-dev] [PATCH] locks: handle sshfs hardlink inode numbers (bug 678218)

2019-02-18 Thread Brian Dolbec
On Sun, 17 Feb 2019 15:04:29 -0800 Zac Medico wrote: > Since hardlinks on sshfs do not have matching inode numbers, detect > this behavior and use a simple stat call to detect if lock_path has > been removed. > > Bug: https://bugs.gentoo.org/678218 > Signed-off-by: Zac Medico > --- >

[gentoo-portage-dev] [PATCH] locks: handle sshfs hardlink inode numbers (bug 678218)

2019-02-17 Thread Zac Medico
Since hardlinks on sshfs do not have matching inode numbers, detect this behavior and use a simple stat call to detect if lock_path has been removed. Bug: https://bugs.gentoo.org/678218 Signed-off-by: Zac Medico --- lib/portage/locks.py | 27 +++ 1 file changed, 27