- diff --git a/daemon/getattr.c b/daemon/getattr.c
 - index 02ed9ed..911d2f9 100644
 - --- a/daemon/getattr.c
 - +++ b/daemon/getattr.c
 - @@ -158,7 +158,20 @@ static int handle_getattr(void *daemon_context, nfs41_upcall *upcall)
 - "nfs41_cached_getattr() failed with %d\n",
 - state->path.path,
 - status);
 - +#if 1
 - + if (/*(status != ERROR_FILE_INVALID) ||*/ (strstr(state->path.path, "mysymlink") == NULL)) {
 - + goto out;
 - + }
 - +
 - + DPRINTF(0, ("handle_getattr: "
 - + "fall-through for reparse, args->query_class=%d\n",
 - + (int)args->query_class));
 - + (void)memset(&info, 0, sizeof(info));
 - + info.type = NF4REG;
 - + info.attrmask.count = 1; /* Avoid asserts */
 - +#else
 - goto out;
 - +#endif
 - }
 - if (info.type == NF4LNK) {
 
hack pass-through for reparse points
Posted by Anonymous on Mon 3rd Feb 2025 13:20
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
 nrubsig.kpaste.net RSS