mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
993b0567b2
commit
a8babca268
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue