From 48e2dbe9fb92ee91dbf11fbf095e75288ece7e40 Mon Sep 17 00:00:00 2001 From: Gordon Ross Date: Thu, 2 Jun 2022 19:18:26 -0400 Subject: 14988 smb: panic in smb_common_open after pool export Reviewed by: Matt Barden Approved by: Dan McDonald --- usr/src/uts/common/fs/smbsrv/smb_common_open.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/src/uts/common/fs/smbsrv/smb_common_open.c b/usr/src/uts/common/fs/smbsrv/smb_common_open.c index a4b572ad28..2fe367e4c3 100644 --- a/usr/src/uts/common/fs/smbsrv/smb_common_open.c +++ b/usr/src/uts/common/fs/smbsrv/smb_common_open.c @@ -431,6 +431,7 @@ smb_common_open(smb_request_t *sr) if (rc == 0) { last_comp_found = B_TRUE; + fnode = op->fqi.fq_fnode; fnode_held = B_TRUE; /* -- cgit v1.2.3