bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH hurd x2] - Rebased


From: Samuel Thibault
Subject: Re: [PATCH hurd x2] - Rebased
Date: Mon, 8 Mar 2021 22:35:21 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Samuel Thibault, le lun. 08 mars 2021 20:51:51 +0100, a ecrit:
> Damien Zammit, le lun. 08 mars 2021 13:15:05 +1100, a ecrit:
> > [PATCH 1/2] pci-arbiter: Fix brokenness
> > 
> > This patch does not include mustbedir option because I believe there
> > is already logic that detects if it is looking up a directory,
> > by checking the entry->dir != 0.
> 
> Translators then have to implement it in netfs_attempt_lookup: when
> the name ends with a slash, they have to check that the looked up node
> really is a directory. See libdiskfs' diskfs_S_dir_lookup: when it
> sees a trailing /, it notes mustbedir=1, which is later on checked:

Ah, but libnetfs already implements it in netfs_S_dir_lookup, my bad.

So we don't need to re-implement it in libnetfs users, sorry.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]