summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2013-06-27 18:57:46 +0000
committerRobert Mustacchi <rm@joyent.com>2013-06-28 21:57:54 +0000
commitd102d5b5e08760b6fa83fe554ff1afc656a3d44a (patch)
tree82ac9007c422adb7e10f29c3870014551ecf4ab9
parentc2e721c63b2ca740245e0bbbad24f430235174ab (diff)
downloadillumos-joyent-release-20130627.tar.gz
OS-2350 zoneadmd stuck in sdevrelease-20130627
-rw-r--r--usr/src/uts/common/fs/dev/sdev_profile.c2
1 files changed, 1 insertions, 1 deletions
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);