Subject: bug#21460: Race condition in tests/tail-2/assert.sh

From: Paul Eggert <[email-masked]>
Date: Fri, 11 Sep 2015 18:09:34 -0700

Pádraig Brady wrote:
> +  else if (new_stats.st_nlink == 0) /* XXX: what about multi-linked files.  */

That comment was my thought exactly.  It appears to be a kernel bug that really 
needs to get fixed in the kernel; there just doesn't seem to be a reliable 
workaround in user space.