From d102d5b5e08760b6fa83fe554ff1afc656a3d44a Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Thu, 27 Jun 2013 18:57:46 +0000 Subject: OS-2350 zoneadmd stuck in sdev --- usr/src/uts/common/fs/dev/sdev_profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/uts/common/fs/dev/sdev_profile.c b/usr/src/uts/common/fs/dev/sdev_profile.c index 5943ecab9f..2942468454 100644 --- a/usr/src/uts/common/fs/dev/sdev_profile.c +++ b/usr/src/uts/common/fs/dev/sdev_profile.c @@ -198,8 +198,8 @@ prof_make_dir(char *name, struct sdev_node **gdirp, struct sdev_node **dirp) if (newdv = sdev_cache_lookup(dir, name)) { *dirp = newdv; *gdirp = newdv->sdev_origin; - SDEV_RELE(dir); rw_exit(&dir->sdev_contents); + SDEV_RELE(dir); return (0); } rw_exit(&dir->sdev_contents); -- cgit v1.2.3