summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/dev
diff options
context:
space:
mode:
authorllai1 <none@none>2006-10-31 17:01:44 -0800
committerllai1 <none@none>2006-10-31 17:01:44 -0800
commita83b1f2c1900d19f7edb03bc67f5c54c037555eb (patch)
tree54ecd0cf3bfc592f2f05a2f01802a5e5f2b7e440 /usr/src/uts/common/fs/dev
parent378040a149d10e2dec3b32b5cc4bb774c5952550 (diff)
downloadillumos-gate-a83b1f2c1900d19f7edb03bc67f5c54c037555eb.tar.gz
6477948 devnames doesn't actually persist device ownership for non-global mounts
Diffstat (limited to 'usr/src/uts/common/fs/dev')
-rw-r--r--usr/src/uts/common/fs/dev/sdev_profile.c3
1 files changed, 2 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 009dc4f8d5..290cce18ee 100644
--- a/usr/src/uts/common/fs/dev/sdev_profile.c
+++ b/usr/src/uts/common/fs/dev/sdev_profile.c
@@ -281,8 +281,9 @@ prof_lookup_globaldev(struct sdev_node *dir, struct sdev_node *gdir,
/*
* Found the entry in global /dev, figure out attributes
* by looking at backing store. Call into devfs for default.
+ * Note, mapped device is persisted under the new name
*/
- prof_getattr(dir, name, gdv, &vattr, &avp, NULL);
+ prof_getattr(dir, rename, gdv, &vattr, &avp, NULL);
if (gdv->v_type != VDIR) {
VN_RELE(gdv);