[BACK]Return to mount.h CVS log [TXT][DIR] Up to [local] / prex-old / include / sys

Diff for /prex-old/include/sys/mount.h between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:44 version 1.1.1.1.2.1, 2008/08/13 17:12:28
Line 163 
Line 163 
  * Operations supported on virtual file system.   * Operations supported on virtual file system.
  */   */
 struct vfsops {  struct vfsops {
         int (*mount)    (mount_t mp, char *dev, int flags, void *data);          int (*vfs_mount)        (mount_t mp, char *dev, int flags, void *data);
         int (*unmount)  (mount_t mp);          int (*vfs_unmount)      (mount_t mp);
         int (*sync)     (mount_t mp);          int (*vfs_sync)         (mount_t mp);
         int (*vget)     (mount_t mp, vnode_t vp);          int (*vfs_vget)         (mount_t mp, vnode_t vp);
         int (*statfs)   (mount_t mp, struct statfs *sfp);          int (*vfs_statfs)       (mount_t mp, struct statfs *sfp);
         struct vnops    *vnops;          struct vnops    *vfs_vnops;
 };  };
   
 typedef int (*vfsop_mount_t)(mount_t, char *, int, void *);  typedef int (*vfsop_mount_t)(mount_t, char *, int, void *);
Line 180 
Line 180 
 /*  /*
  * VFS interface   * VFS interface
  */   */
 #define VFS_MOUNT(MP, DEV, FL, DAT) ((MP)->m_op->mount)(MP, DEV, FL, DAT)  #define VFS_MOUNT(MP, DEV, FL, DAT) ((MP)->m_op->vfs_mount)(MP, DEV, FL, DAT)
 #define VFS_UNMOUNT(MP)             ((MP)->m_op->unmount)(MP)  #define VFS_UNMOUNT(MP)             ((MP)->m_op->vfs_unmount)(MP)
 #define VFS_SYNC(MP)                ((MP)->m_op->sync)(MP)  #define VFS_SYNC(MP)                ((MP)->m_op->vfs_sync)(MP)
 #define VFS_VGET(MP, VP)            ((MP)->m_op->vget)(MP, VP)  #define VFS_VGET(MP, VP)            ((MP)->m_op->vfs_vget)(MP, VP)
 #define VFS_STATFS(MP, SFP)         ((MP)->m_op->statfs)(MP, SFP)  #define VFS_STATFS(MP, SFP)         ((MP)->m_op->vfs_statfs)(MP, SFP)
   
 #define VFS_NULL                    ((void *)vfs_null)  #define VFS_NULL                    ((void *)vfs_null)
   

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb