|
@@ -139,6 +139,9 @@ int xfs_rtalloc_query_all(struct xfs_trans *tp,
|
|
|
xfs_rtalloc_query_range_fn fn,
|
|
|
void *priv);
|
|
|
bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno);
|
|
|
+int xfs_rtalloc_extent_is_free(struct xfs_mount *mp, struct xfs_trans *tp,
|
|
|
+ xfs_rtblock_t start, xfs_extlen_t len,
|
|
|
+ bool *is_free);
|
|
|
#else
|
|
|
# define xfs_rtallocate_extent(t,b,min,max,l,f,p,rb) (ENOSYS)
|
|
|
# define xfs_rtfree_extent(t,b,l) (ENOSYS)
|
|
@@ -148,6 +151,7 @@ bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno);
|
|
|
# define xfs_rtalloc_query_all(t,f,p) (ENOSYS)
|
|
|
# define xfs_rtbuf_get(m,t,b,i,p) (ENOSYS)
|
|
|
# define xfs_verify_rtbno(m, r) (false)
|
|
|
+# define xfs_rtalloc_extent_is_free(m,t,s,l,i) (ENOSYS)
|
|
|
static inline int /* error */
|
|
|
xfs_rtmount_init(
|
|
|
xfs_mount_t *mp) /* file system mount structure */
|