From: Nathan Scott Date: Mon, 20 Aug 2001 23:20:56 +0000 (+0000) Subject: sync with (benign for userspace) changes to the kernel header. X-Git-Tag: v2.0.0~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ddd9902d197c4fe1a0ad65dac28ed39e3ed1ad9;p=thirdparty%2Fxfsprogs-dev.git sync with (benign for userspace) changes to the kernel header. --- diff --git a/include/xfs_mount.h b/include/xfs_mount.h index 5e7e7a7d7..3f5207c68 100644 --- a/include/xfs_mount.h +++ b/include/xfs_mount.h @@ -308,10 +308,11 @@ typedef struct xfs_mount { /* which bits matter in rpc log item pin masks */ uint m_cxfstype; /* mounted shared, etc. */ - lock_t m_freeze_lock; - uint m_frozen; - sv_t m_wait_unfreeze; - atomic_t m_active_trans; + lock_t m_freeze_lock; /* Lock for m_frozen */ + uint m_frozen; /* FS frozen for shutdown or + * snapshot */ + sv_t m_wait_unfreeze;/* waiting to unfreeze */ + atomic_t m_active_trans; /* number trans frozen */ } xfs_mount_t; /* @@ -488,12 +489,15 @@ void _xfs_force_shutdown(struct xfs_mount *, int, char *, int); int xfs_syncsub(xfs_mount_t *, int, int, int *); void xfs_xlatesb(void *, struct xfs_sb *, int, xfs_arch_t, __int64_t); +/* + * Flags for freeze operations. + */ #define XFS_FREEZE_WRITE 1 #define XFS_FREEZE_TRANS 2 void xfs_start_freeze(xfs_mount_t *, int); void xfs_finish_freeze(xfs_mount_t *); -void xfs_check_frozen(xfs_mount_t *, int); +void xfs_check_frozen(xfs_mount_t *, bhv_desc_t *, int, int); extern struct vfsops xfs_vfsops;