From 23ce1808877a6f3221af0ec3a1937624dd7e3b58 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 13 Apr 2025 02:29:14 -0600 Subject: fixup! lib9p: srv: Use a separate pathmap --- lib9p/srv.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib9p/srv.c') diff --git a/lib9p/srv.c b/lib9p/srv.c index 82b5257..e6a92ad 100644 --- a/lib9p/srv.c +++ b/lib9p/srv.c @@ -777,9 +777,9 @@ static void handle_Tattach(struct srv_req *ctx, } if (req->fid == LIB9P_FID_NOFID) { - lib9p_error(&ctx->basectx, - LINUX_EBADF, "cannot assign to NOFID"); - return; + lib9p_error(&ctx->basectx, + LINUX_EBADF, "cannot assign to NOFID"); + return; } /* 1. File object */ @@ -820,9 +820,9 @@ static void handle_Twalk(struct srv_req *ctx, srv_handler_common(ctx, req, resp); if (req->newfid == LIB9P_FID_NOFID) { - lib9p_error(&ctx->basectx, - LINUX_EBADF, "cannot assign to NOFID"); - return; + lib9p_error(&ctx->basectx, + LINUX_EBADF, "cannot assign to NOFID"); + return; } struct srv_fidinfo *fidinfo = map_load(&ctx->parent_sess->fids, req->fid); -- cgit v1.2.3-2-g168b