From 612674f4b77472c381c8150138fce8a34a4c9119 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 5 Aug 2021 18:16:42 +0300 Subject: netfs: Use the libports notify port --- libnetfs/dir-lookup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libnetfs/dir-lookup.c') diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index 87874dc5..e9ea61e7 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -277,6 +277,8 @@ netfs_S_dir_lookup (struct protid *dircred, char *translator_path = strdupa (relpath); char *end; char *complete_path; + struct port_info *notify_port; + if (nextname != NULL) { /* This was not the last path component. @@ -302,7 +304,8 @@ netfs_S_dir_lookup (struct protid *dircred, asprintf (&complete_path, "%s/%s", dircred->po->path, translator_path); - err = fshelp_set_active_translator (&newpi->pi, + notify_port = newpi->pi.bucket->notify_port; + err = fshelp_set_active_translator (notify_port, complete_path, &np->transbox); if (complete_path != translator_path) -- cgit v1.2.3