On Wed, Nov 29, 2017 at 5:54 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote: > Soon, we will be creating OVL_TYPE_ORIGIN entries even for hardlinked > files with index=off. That means, it is possible that there is no > index and hence no OVL_XATTR_NLINK set on upperdentry but lowerdentry > is still there. In that case current implementation gets -ENODATA > from vfs_getxattr)() and it warns and returns fallback. I can get > following warning. > > "overlayfs: failed to get index nlink ....." > > Pass in index instead of upperdentry in ovl_get_nlink(). That way, if > index is not there, we know that OVL_XATTR_NLINK should not be > present and just return fallback. > > Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Reviewed-by: Amir Goldstein <amir73il@xxxxxxxxx> -- 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