aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2024-11-21 00:21:16 +0000
committerDarrick J. Wong <[email protected]>2024-12-23 21:06:17 +0000
commitfd97fe1112088c16594dcd45e809f1643e623309 (patch)
tree743b192b242e8db2b4e84332e494d8013fef6fac /fs/xfs/xfs_rtalloc.c
parentxfs: check for shared rt extents when rebuilding rt file's data fork (diff)
downloadkernel-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.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index a5de5405800a..7135a6717a9e 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -594,7 +594,7 @@ xfs_rtalloc_sumlevel(
* specified. If we don't get maxlen then use prod to trim
* the length, if given. The lengths are all in rtextents.
*/
-STATIC int
+static int
xfs_rtallocate_extent_size(
struct xfs_rtalloc_args *args,
xfs_rtxlen_t minlen, /* minimum length to allocate */
@@ -1958,7 +1958,7 @@ out_unlock:
goto out_release;
}
-static int
+int
xfs_rtallocate_rtgs(
struct xfs_trans *tp,
xfs_fsblock_t bno_hint,