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
This commit is contained in:
parent
5f5d8287e5
commit
1a999cb3f9
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user