summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/libxfs/xfs_fs.h')
-rw-r--r--fs/xfs/libxfs/xfs_fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h
index 052e3ee38d2b..079d86d872f7 100644
--- a/fs/xfs/libxfs/xfs_fs.h
+++ b/fs/xfs/libxfs/xfs_fs.h
@@ -310,6 +310,11 @@ struct xfs_ag_geometry {
#define XFS_AG_GEOM_SICK_REFCNTBT (1 << 9) /* reference counts */
#define XFS_AG_GEOM_SICK_INODES (1 << 10) /* bad inodes were seen */
+#define XFS_AG_FLAG_UPDATE (1 << 0) /* update flags */
+#define XFS_AG_FLAG_NOALLOC (1 << 1) /* do not allocate from this AG */
+#define XFS_AG_FLAG_ALL (XFS_AG_FLAG_UPDATE | \
+ XFS_AG_FLAG_NOALLOC)
+
/*
* Structures for XFS_IOC_FSGROWFSDATA, XFS_IOC_FSGROWFSLOG & XFS_IOC_FSGROWFSRT
*/