diff options
author | jhb <jhb@FreeBSD.org> | 2009-02-27 20:00:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-02-27 20:00:15 +0000 |
commit | 90499e3f8eb3ad46cecd13f6219e89c28e330a34 (patch) | |
tree | 4703df2e91319f49ee1838a7c3861e8cdf417d90 /sys/fs/msdosfs/msdosfsmount.h | |
parent | 9456dca639e58d3bd057fb4f73670d88d05212ab (diff) | |
download | FreeBSD-src-90499e3f8eb3ad46cecd13f6219e89c28e330a34.zip FreeBSD-src-90499e3f8eb3ad46cecd13f6219e89c28e330a34.tar.gz |
- Hold a reference on the cdev a filesystem is mounted from in the mount.
- Remove the cdev pointers from the denode and instead use the mountpoint's
reference to call dev2udev() in getattr().
Reviewed by: kib, julian
Diffstat (limited to 'sys/fs/msdosfs/msdosfsmount.h')
-rw-r--r-- | sys/fs/msdosfs/msdosfsmount.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfsmount.h b/sys/fs/msdosfs/msdosfsmount.h index 0884679..bfe3ec3 100644 --- a/sys/fs/msdosfs/msdosfsmount.h +++ b/sys/fs/msdosfs/msdosfsmount.h @@ -74,7 +74,8 @@ struct msdosfsmount { for files */ mode_t pm_dirmask; /* mask to and with file protection bits for directories */ - struct vnode *pm_devvp; /* vnode for block device mntd */ + struct vnode *pm_devvp; /* vnode for character device mounted */ + struct cdev *pm_dev; /* character device mounted */ struct bpb50 pm_bpb; /* BIOS parameter blk for this fs */ u_long pm_BlkPerSec; /* How many DEV_BSIZE blocks fit inside a physical sector */ u_long pm_FATsecs; /* actual number of fat sectors */ |