diff options
author | Christoph Hellwig <hch@lst.de> | 2017-02-17 11:21:15 -0500 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-02-17 23:32:10 -0500 |
commit | 8d242e932fb7660c24b3a534197e69c241067e0d (patch) | |
tree | 7de270a7966e94caf3e18c6fe3459bef8c569682 /fs/xfs/libxfs/xfs_alloc.h | |
parent | 089ec2f87578b9740f0c27bcea9cc6be59c1ddb0 (diff) |
xfs: remove XFS_ALLOCTYPE_ANY_AG and XFS_ALLOCTYPE_START_AG
XFS_ALLOCTYPE_ANY_AG was only used for the RT allocator and is unused
now, and XFS_ALLOCTYPE_START_AG has been unused for a while.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_alloc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc.h b/fs/xfs/libxfs/xfs_alloc.h index 1d0f48a501a3..2a8d0fa6fbbe 100644 --- a/fs/xfs/libxfs/xfs_alloc.h +++ b/fs/xfs/libxfs/xfs_alloc.h | |||
@@ -29,9 +29,7 @@ extern struct workqueue_struct *xfs_alloc_wq; | |||
29 | /* | 29 | /* |
30 | * Freespace allocation types. Argument to xfs_alloc_[v]extent. | 30 | * Freespace allocation types. Argument to xfs_alloc_[v]extent. |
31 | */ | 31 | */ |
32 | #define XFS_ALLOCTYPE_ANY_AG 0x01 /* allocate anywhere, use rotor */ | ||
33 | #define XFS_ALLOCTYPE_FIRST_AG 0x02 /* ... start at ag 0 */ | 32 | #define XFS_ALLOCTYPE_FIRST_AG 0x02 /* ... start at ag 0 */ |
34 | #define XFS_ALLOCTYPE_START_AG 0x04 /* anywhere, start in this a.g. */ | ||
35 | #define XFS_ALLOCTYPE_THIS_AG 0x08 /* anywhere in this a.g. */ | 33 | #define XFS_ALLOCTYPE_THIS_AG 0x08 /* anywhere in this a.g. */ |
36 | #define XFS_ALLOCTYPE_START_BNO 0x10 /* near this block else anywhere */ | 34 | #define XFS_ALLOCTYPE_START_BNO 0x10 /* near this block else anywhere */ |
37 | #define XFS_ALLOCTYPE_NEAR_BNO 0x20 /* in this a.g. and near this block */ | 35 | #define XFS_ALLOCTYPE_NEAR_BNO 0x20 /* in this a.g. and near this block */ |
@@ -41,9 +39,7 @@ extern struct workqueue_struct *xfs_alloc_wq; | |||
41 | typedef unsigned int xfs_alloctype_t; | 39 | typedef unsigned int xfs_alloctype_t; |
42 | 40 | ||
43 | #define XFS_ALLOC_TYPES \ | 41 | #define XFS_ALLOC_TYPES \ |
44 | { XFS_ALLOCTYPE_ANY_AG, "ANY_AG" }, \ | ||
45 | { XFS_ALLOCTYPE_FIRST_AG, "FIRST_AG" }, \ | 42 | { XFS_ALLOCTYPE_FIRST_AG, "FIRST_AG" }, \ |
46 | { XFS_ALLOCTYPE_START_AG, "START_AG" }, \ | ||
47 | { XFS_ALLOCTYPE_THIS_AG, "THIS_AG" }, \ | 43 | { XFS_ALLOCTYPE_THIS_AG, "THIS_AG" }, \ |
48 | { XFS_ALLOCTYPE_START_BNO, "START_BNO" }, \ | 44 | { XFS_ALLOCTYPE_START_BNO, "START_BNO" }, \ |
49 | { XFS_ALLOCTYPE_NEAR_BNO, "NEAR_BNO" }, \ | 45 | { XFS_ALLOCTYPE_NEAR_BNO, "NEAR_BNO" }, \ |