diff options
author | phk <phk@FreeBSD.org> | 2002-09-27 20:03:05 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-27 20:03:05 +0000 |
commit | 1a999cb3f943ae2eb7084cf88086bf704ca18b83 (patch) | |
tree | 4652986b51a5f3b68bf0331713d6ba5620a349c1 | |
parent | 5f5d8287e53c2f4390e259a997dfd721493098d7 (diff) | |
download | FreeBSD-src-1a999cb3f943ae2eb7084cf88086bf704ca18b83.zip FreeBSD-src-1a999cb3f943ae2eb7084cf88086bf704ca18b83.tar.gz |
Make it a tad easier to deal with struct inode in userland programs which
fondle /dev/kmem by using "struct cdev *" instead of "dev_t".
Requsted by: jake
-rw-r--r-- | sys/ufs/ufs/inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/inode.h b/sys/ufs/ufs/inode.h index 94ec179..d71359a 100644 --- a/sys/ufs/ufs/inode.h +++ b/sys/ufs/ufs/inode.h @@ -67,7 +67,7 @@ struct inode { struct ufsmount *i_ump;/* Ufsmount point associated with this inode. */ struct vnode *i_devvp;/* Vnode for block I/O. */ u_int32_t i_flag; /* flags, see below */ - dev_t i_dev; /* Device associated with the inode. */ + struct cdev *i_dev; /* Device associated with the inode. */ ino_t i_number; /* The identity of the inode. */ int i_effnlink; /* i_nlink when I/O completes */ |