Import 2.1.55pre1
[davej-history.git] / include / linux / mount.h
blobc2e44397a1ecb0cc376353dd1929a02c531b9b08
1 /*
3 * Definitions for mount interface. This describes the in the kernel build
4 * linkedlist with mounted filesystems.
6 * Author: Marco van Wieringen <mvw@mcs.ow.nl> <mvw@tnix.net> <mvw@cistron.nl>
8 * Version: $Id: mount.h,v 1.3 1994/07/20 22:01:00 mvw Exp mvw $
11 #ifndef _LINUX_MOUNT_H
12 #define _LINUX_MOUNT_H
14 struct vfsmount
16 kdev_t mnt_dev; /* Device this applies to */
17 char *mnt_devname; /* Name of device e.g. /dev/dsk/hda1 */
18 char *mnt_dirname; /* Name of directory mounted on */
19 unsigned int mnt_flags; /* Flags of this device */
20 struct semaphore mnt_sem; /* lock device while I/O in progress */
21 struct super_block *mnt_sb; /* pointer to superblock */
22 struct file *mnt_quotas[MAXQUOTAS]; /* fp's to quotafiles */
23 time_t mnt_iexp[MAXQUOTAS]; /* expiretime for inodes */
24 time_t mnt_bexp[MAXQUOTAS]; /* expiretime for blocks */
25 struct vfsmount *mnt_next; /* pointer to next in linkedlist */
28 struct vfsmount *lookup_vfsmnt(kdev_t dev);
30 #endif /* _LINUX_MOUNT_H */