diff options
author | phk <phk@FreeBSD.org> | 2005-03-17 12:07:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-03-17 12:07:00 +0000 |
commit | cfa6bb09ea1f02e2fd37547ab40b7676048c034b (patch) | |
tree | a2144fe4b33bba27b94f9bbef8160b79a6789a7d /sys/fs | |
parent | 92d24b8044e535eb473c6698795051f9ce495496 (diff) | |
download | FreeBSD-src-cfa6bb09ea1f02e2fd37547ab40b7676048c034b.zip FreeBSD-src-cfa6bb09ea1f02e2fd37547ab40b7676048c034b.tar.gz |
Prepare for the final onslaught on devices:
Move uid/gid/mode from cdev to cdevsw.
Add kind field to use for devd(8) later.
Bump both D_VERSION and __FreeBSD_version
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 761caa5..7a1647b 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_uid; - de->de_gid = dev->si_gid; - de->de_mode = dev->si_mode; + 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_dirent->d_type = DT_CHR; } #ifdef MAC |