diff options
author | phk <phk@FreeBSD.org> | 2005-03-31 10:29:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-03-31 10:29:57 +0000 |
commit | 2379f6177018b1f39ea760b905f7535cadd5a2a1 (patch) | |
tree | 3b6e732e6baeaf832a7af4a5bea1d4b593e5412d /sys/fs | |
parent | b83adaf8e5c6ba7cf04e5a5842aa96980e2c96e9 (diff) | |
download | FreeBSD-src-2379f6177018b1f39ea760b905f7535cadd5a2a1.zip FreeBSD-src-2379f6177018b1f39ea760b905f7535cadd5a2a1.tar.gz |
cdev (still) needs per instance uid/gid/mode
Add unlocked version of dev_ref()
Clean up various stuff in sys/conf.h
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/devfs/devfs_devs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index 7a1647b..761caa5 100644 --- a/sys/fs/devfs/devfs_devs.c +++ b/sys/fs/devfs/devfs_devs.c @@ -318,9 +318,9 @@ devfs_populate(struct devfs_mount *dm) bcopy(pdev->si_name, de->de_symlink, j); } else { de->de_inode = i; - de->de_uid = dev->si_devsw->d_uid; - de->de_gid = dev->si_devsw->d_gid; - de->de_mode = dev->si_devsw->d_mode; + de->de_uid = dev->si_uid; + de->de_gid = dev->si_gid; + de->de_mode = dev->si_mode; de->de_dirent->d_type = DT_CHR; } #ifdef MAC |