summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2003-06-24 22:11:20 +0000
committerjmg <jmg@FreeBSD.org>2003-06-24 22:11:20 +0000
commit2a193b6cda50b9d55abe94b71eb6ed7b76881b28 (patch)
tree9b5c9419473b15c5b81030d89e500da34f4e97ab
parente4a56de83f20eeb6acf27e78a7f1ab4b55310764 (diff)
downloadFreeBSD-src-2a193b6cda50b9d55abe94b71eb6ed7b76881b28.zip
FreeBSD-src-2a193b6cda50b9d55abe94b71eb6ed7b76881b28.tar.gz
change dev_t to struct cdev * to match ufs. This fixes fstat for cd9660
and msdosfs. Reviewed by: bde
-rw-r--r--sys/fs/cd9660/cd9660_node.h2
-rw-r--r--sys/fs/msdosfs/denode.h2
-rw-r--r--sys/isofs/cd9660/cd9660_node.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/cd9660/cd9660_node.h b/sys/fs/cd9660/cd9660_node.h
index 47ea9dd..88daa7c 100644
--- a/sys/fs/cd9660/cd9660_node.h
+++ b/sys/fs/cd9660/cd9660_node.h
@@ -65,7 +65,7 @@ struct iso_node {
struct vnode *i_vnode; /* vnode associated with this inode */
struct vnode *i_devvp; /* vnode for block I/O */
u_long i_flag; /* see below */
- dev_t i_dev; /* device where inode resides */
+ struct cdev *i_dev; /* device where inode resides */
ino_t i_number; /* the identity of the inode */
/* we use the actual starting block of the file */
struct iso_mnt *i_mnt; /* filesystem associated with this inode */
diff --git a/sys/fs/msdosfs/denode.h b/sys/fs/msdosfs/denode.h
index f6faeec..eed1bdc 100644
--- a/sys/fs/msdosfs/denode.h
+++ b/sys/fs/msdosfs/denode.h
@@ -140,7 +140,7 @@ struct denode {
struct vnode *de_vnode; /* addr of vnode we are part of */
struct vnode *de_devvp; /* vnode of blk dev we live on */
u_long de_flag; /* flag bits */
- dev_t de_dev; /* device where direntry lives */
+ struct cdev *de_dev; /* device where direntry lives */
u_long de_dirclust; /* cluster of the directory file containing this entry */
u_long de_diroffset; /* offset of this entry in the directory cluster */
u_long de_fndoffset; /* offset of found dir entry */
diff --git a/sys/isofs/cd9660/cd9660_node.h b/sys/isofs/cd9660/cd9660_node.h
index 47ea9dd..88daa7c 100644
--- a/sys/isofs/cd9660/cd9660_node.h
+++ b/sys/isofs/cd9660/cd9660_node.h
@@ -65,7 +65,7 @@ struct iso_node {
struct vnode *i_vnode; /* vnode associated with this inode */
struct vnode *i_devvp; /* vnode for block I/O */
u_long i_flag; /* see below */
- dev_t i_dev; /* device where inode resides */
+ struct cdev *i_dev; /* device where inode resides */
ino_t i_number; /* the identity of the inode */
/* we use the actual starting block of the file */
struct iso_mnt *i_mnt; /* filesystem associated with this inode */
OpenPOWER on IntegriCloud