From 2e87eae1fb7a61e72d98af9c0ef8cbaad1a6d497 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 10 Oct 2019 12:47:22 -0400 Subject: bcachefs: Convert bch2_fpunch to bch2_extent_update() As before - we're moving non Linux specific code out of fs-io.c. Signed-off-by: Kent Overstreet --- fs/bcachefs/reflink.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fs/bcachefs/reflink.h') diff --git a/fs/bcachefs/reflink.h b/fs/bcachefs/reflink.h index 327618c36d33..ac23b855858c 100644 --- a/fs/bcachefs/reflink.h +++ b/fs/bcachefs/reflink.h @@ -24,9 +24,7 @@ void bch2_reflink_v_to_text(struct printbuf *, struct bch_fs *, .val_to_text = bch2_reflink_v_to_text, \ } -#ifndef NO_BCACHEFS_FS -s64 bch2_remap_range(struct bch_fs *, struct bch_inode_info *, - struct bpos, struct bpos, u64, u64); -#endif /* NO_BCACHEFS_FS */ +s64 bch2_remap_range(struct bch_fs *, struct bpos, struct bpos, + u64, u64 *, u64, s64 *); #endif /* _BCACHEFS_REFLINK_H */ -- cgit v1.2.3-58-ga151