3 * Definitions for mount interface. This describes the in the kernel build
4 * linkedlist with mounted filesystems.
6 * Author: Marco van Wieringen <mvw@planets.elm.net>
8 * Version: $Id: mount.h,v 2.0 1996/11/17 16:48:14 mvw Exp mvw $
11 #ifndef _LINUX_MOUNT_H
12 #define _LINUX_MOUNT_H
14 #define DQUOT_USR_ENABLED 0x01 /* User diskquotas enabled */
15 #define DQUOT_GRP_ENABLED 0x02 /* Group diskquotas enabled */
17 struct quota_mount_options
19 unsigned int flags
; /* Flags for diskquotas on this device */
20 struct semaphore semaphore
; /* lock device while I/O in progress */
21 struct file
*files
[MAXQUOTAS
]; /* fp's to quotafiles */
22 time_t inode_expire
[MAXQUOTAS
]; /* expiretime for inode-quota */
23 time_t block_expire
[MAXQUOTAS
]; /* expiretime for block-quota */
24 char rsquash
[MAXQUOTAS
]; /* for quotas treat root as any other user */
29 kdev_t mnt_dev
; /* Device this applies to */
30 char *mnt_devname
; /* Name of device e.g. /dev/dsk/hda1 */
31 char *mnt_dirname
; /* Name of directory mounted on */
32 unsigned int mnt_flags
; /* Flags of this device */
33 struct super_block
*mnt_sb
; /* pointer to superblock */
34 struct quota_mount_options mnt_dquot
; /* Diskquota specific mount options */
35 struct vfsmount
*mnt_next
; /* pointer to next in linkedlist */
38 struct vfsmount
*lookup_vfsmnt(kdev_t dev
);
44 #define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */
46 #endif /* _LINUX_MOUNT_H */