root/include/linux/mount.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  *
   3  * Definitions for mount interface. This describes the in the kernel build 
   4  * linkedlist with mounted filesystems.
   5  *
   6  * Author:  Marco van Wieringen <mvw@mcs.ow.nl> <mvw@tnix.net> <mvw@cistron.nl>
   7  *
   8  * Version: $Id: mount.h,v 1.3 1994/07/20 22:01:00 mvw Exp mvw $
   9  *
  10  */
  11 #ifndef _LINUX_MOUNT_H
  12 #define _LINUX_MOUNT_H
  13 
  14 struct vfsmount
  15 {
  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 */
  26 };
  27 
  28 struct vfsmount *lookup_vfsmnt(kdev_t dev);
  29 
  30 #endif /* _LINUX_MOUNT_H */

/* [previous][next][first][last][top][bottom][index][help] */