summaryrefslogtreecommitdiffstats
path: root/include/linux/mount.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
commitc7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch)
tree3682407a599b8f9f03fc096298134cafba1c9b2f /include/linux/mount.h
parent1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff)
o Merge with Linux 2.1.116.
o New Newport console code. o New G364 console code.
Diffstat (limited to 'include/linux/mount.h')
-rw-r--r--include/linux/mount.h40
1 files changed, 28 insertions, 12 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h
index c2e44397a..7e7ccb266 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -3,28 +3,44 @@
* Definitions for mount interface. This describes the in the kernel build
* linkedlist with mounted filesystems.
*
- * Author: Marco van Wieringen <mvw@mcs.ow.nl> <mvw@tnix.net> <mvw@cistron.nl>
+ * Author: Marco van Wieringen <mvw@planets.elm.net>
*
- * Version: $Id: mount.h,v 1.3 1994/07/20 22:01:00 mvw Exp mvw $
+ * Version: $Id: mount.h,v 2.0 1996/11/17 16:48:14 mvw Exp mvw $
*
*/
#ifndef _LINUX_MOUNT_H
#define _LINUX_MOUNT_H
+#define DQUOT_USR_ENABLED 0x01 /* User diskquotas enabled */
+#define DQUOT_GRP_ENABLED 0x02 /* Group diskquotas enabled */
+
+struct quota_mount_options
+{
+ unsigned int flags; /* Flags for diskquotas on this device */
+ struct semaphore semaphore; /* lock device while I/O in progress */
+ struct file *files[MAXQUOTAS]; /* fp's to quotafiles */
+ time_t inode_expire[MAXQUOTAS]; /* expiretime for inode-quota */
+ time_t block_expire[MAXQUOTAS]; /* expiretime for block-quota */
+ char rsquash[MAXQUOTAS]; /* for quotas threath root as any other user */
+};
+
struct vfsmount
{
- kdev_t mnt_dev; /* Device this applies to */
- char *mnt_devname; /* Name of device e.g. /dev/dsk/hda1 */
- char *mnt_dirname; /* Name of directory mounted on */
- unsigned int mnt_flags; /* Flags of this device */
- struct semaphore mnt_sem; /* lock device while I/O in progress */
- struct super_block *mnt_sb; /* pointer to superblock */
- struct file *mnt_quotas[MAXQUOTAS]; /* fp's to quotafiles */
- time_t mnt_iexp[MAXQUOTAS]; /* expiretime for inodes */
- time_t mnt_bexp[MAXQUOTAS]; /* expiretime for blocks */
- struct vfsmount *mnt_next; /* pointer to next in linkedlist */
+ kdev_t mnt_dev; /* Device this applies to */
+ char *mnt_devname; /* Name of device e.g. /dev/dsk/hda1 */
+ char *mnt_dirname; /* Name of directory mounted on */
+ unsigned int mnt_flags; /* Flags of this device */
+ struct super_block *mnt_sb; /* pointer to superblock */
+ struct quota_mount_options mnt_dquot; /* Diskquota specific mount options */
+ struct vfsmount *mnt_next; /* pointer to next in linkedlist */
};
struct vfsmount *lookup_vfsmnt(kdev_t dev);
+/*
+ * Umount options
+ */
+
+#define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */
+
#endif /* _LINUX_MOUNT_H */