|
|
| version 1.230, 2006/12/13 02:56:14 | version 1.231, 2007/01/10 14:42:05 |
|---|---|
| Line 586 xfs_icsb_unlock(xfs_mount_t *mp) | Line 586 xfs_icsb_unlock(xfs_mount_t *mp) |
| /* | /* |
| * This structure is for use by the xfs_mod_incore_sb_batch() routine. | * This structure is for use by the xfs_mod_incore_sb_batch() routine. |
| * xfs_growfs can specify a few fields which are more than int limit | |
| */ | */ |
| typedef struct xfs_mod_sb { | typedef struct xfs_mod_sb { |
| xfs_sb_field_t msb_field; /* Field to modify, see below */ | xfs_sb_field_t msb_field; /* Field to modify, see below */ |
| int msb_delta; /* Change to make to specified field */ | int64_t msb_delta; /* Change to make to specified field */ |
| } xfs_mod_sb_t; | } xfs_mod_sb_t; |
| #define XFS_MOUNT_ILOCK(mp) mutex_lock(&((mp)->m_ilock)) | #define XFS_MOUNT_ILOCK(mp) mutex_lock(&((mp)->m_ilock)) |
| Line 607 extern int xfs_unmountfs(xfs_mount_t *, | Line 608 extern int xfs_unmountfs(xfs_mount_t *, |
| extern void xfs_unmountfs_close(xfs_mount_t *, struct cred *); | extern void xfs_unmountfs_close(xfs_mount_t *, struct cred *); |
| extern int xfs_unmountfs_writesb(xfs_mount_t *); | extern int xfs_unmountfs_writesb(xfs_mount_t *); |
| extern int xfs_unmount_flush(xfs_mount_t *, int); | extern int xfs_unmount_flush(xfs_mount_t *, int); |
| extern int xfs_mod_incore_sb(xfs_mount_t *, xfs_sb_field_t, int, int); | extern int xfs_mod_incore_sb(xfs_mount_t *, xfs_sb_field_t, int64_t, int); |
| extern int xfs_mod_incore_sb_unlocked(xfs_mount_t *, xfs_sb_field_t, | extern int xfs_mod_incore_sb_unlocked(xfs_mount_t *, xfs_sb_field_t, |
| int, int); | int64_t, int); |
| extern int xfs_mod_incore_sb_batch(xfs_mount_t *, xfs_mod_sb_t *, | extern int xfs_mod_incore_sb_batch(xfs_mount_t *, xfs_mod_sb_t *, |
| uint, int); | uint, int); |
| extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int); | extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int); |