summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Ross <gwr@racktopsystems.com>2022-06-02 19:18:26 -0400
committerToomas Soome <tsoome@me.com>2022-09-28 09:39:06 +0300
commit48e2dbe9fb92ee91dbf11fbf095e75288ece7e40 (patch)
treebdac88d41b3a987d4a91a27501178e155f59fb99
parentb78b1474704201201beac8045bbedb34d2361aae (diff)
downloadillumos-joyent-48e2dbe9fb92ee91dbf11fbf095e75288ece7e40.tar.gz
14988 smb: panic in smb_common_open after pool export
Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
-rw-r--r--usr/src/uts/common/fs/smbsrv/smb_common_open.c1
1 files changed, 1 insertions, 0 deletions
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;
/*