diff options
| author | Darrick J. Wong <[email protected]> | 2024-11-21 00:21:16 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-12-23 21:06:17 +0000 |
| commit | fd97fe1112088c16594dcd45e809f1643e623309 (patch) | |
| tree | 743b192b242e8db2b4e84332e494d8013fef6fac /fs/xfs/xfs_rtalloc.h | |
| parent | xfs: check for shared rt extents when rebuilding rt file's data fork (diff) | |
| download | kernel-fd97fe1112088c16594dcd45e809f1643e623309.tar.gz kernel-fd97fe1112088c16594dcd45e809f1643e623309.zip | |
xfs: fix CoW forks for realtime files
Port the copy on write fork repair to realtime files.
Signed-off-by: "Darrick J. Wong" <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.h')
| -rw-r--r-- | fs/xfs/xfs_rtalloc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/xfs_rtalloc.h b/fs/xfs/xfs_rtalloc.h index 9044f7226ab6..0d95b29092c9 100644 --- a/fs/xfs/xfs_rtalloc.h +++ b/fs/xfs/xfs_rtalloc.h @@ -77,4 +77,9 @@ xfs_growfs_check_rtgeom(const struct xfs_mount *mp, } #endif /* CONFIG_XFS_RT */ +int xfs_rtallocate_rtgs(struct xfs_trans *tp, xfs_fsblock_t bno_hint, + xfs_rtxlen_t minlen, xfs_rtxlen_t maxlen, xfs_rtxlen_t prod, + bool wasdel, bool initial_user_data, xfs_rtblock_t *bno, + xfs_extlen_t *blen); + #endif /* __XFS_RTALLOC_H__ */ |
