diff options
Diffstat (limited to 'fs/xfs/xfs_fs.h')
| -rw-r--r-- | fs/xfs/xfs_fs.h | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/xfs/xfs_fs.h b/fs/xfs/xfs_fs.h index d34703dbcb42..18dc721ca19f 100644 --- a/fs/xfs/xfs_fs.h +++ b/fs/xfs/xfs_fs.h @@ -255,8 +255,8 @@ typedef struct xfs_fsop_resblks {  	((2 * 1024 * 1024 * 1024ULL) - XFS_MIN_LOG_BYTES)  /* Used for sanity checks on superblock */ -#define XFS_MAX_DBLOCKS(s) ((xfs_drfsbno_t)(s)->sb_agcount * (s)->sb_agblocks) -#define XFS_MIN_DBLOCKS(s) ((xfs_drfsbno_t)((s)->sb_agcount - 1) *	\ +#define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks) +#define XFS_MIN_DBLOCKS(s) ((xfs_rfsblock_t)((s)->sb_agcount - 1) *	\  			 (s)->sb_agblocks + XFS_MIN_AG_BLOCKS)  /* @@ -375,6 +375,9 @@ struct xfs_fs_eofblocks {  #define XFS_EOF_FLAGS_GID		(1 << 2) /* filter by gid */  #define XFS_EOF_FLAGS_PRID		(1 << 3) /* filter by project id */  #define XFS_EOF_FLAGS_MINFILESIZE	(1 << 4) /* filter by min file size */ +#define XFS_EOF_FLAGS_UNION		(1 << 5) /* union filter algorithm; +						  * kernel only, not included in +						  * valid mask */  #define XFS_EOF_FLAGS_VALID	\  	(XFS_EOF_FLAGS_SYNC |	\  	 XFS_EOF_FLAGS_UID |	\  |