Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH] xfs: remove unused xfs_reflink_remap_range declaration
@ 2026-09-04 12:36 Anuj Gupta
  2026-09-05  1:11 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Anuj Gupta @ 2026-09-04 12:36 UTC (permalink / raw)
  To: cem, djwong; +Cc: linux-xfs, Anuj Gupta

From: Anuj Gupta <anuj20.g@samsung.com>

The implementation was inlined into xfs_file_remap_range() by commit
3fc9f5e40931 ("xfs: remove xfs_reflink_remap_range"), leaving this
declaration orphaned.

Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
---
 fs/xfs/xfs_reflink.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/fs/xfs/xfs_reflink.h b/fs/xfs/xfs_reflink.h
index 9d1ed9bb0bee..683c1841e640 100644
--- a/fs/xfs/xfs_reflink.h
+++ b/fs/xfs/xfs_reflink.h
@@ -48,9 +48,6 @@ extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
 int xfs_reflink_end_atomic_cow(struct xfs_inode *ip, xfs_off_t offset,
 		xfs_off_t count);
 extern int xfs_reflink_recover_cow(struct xfs_mount *mp);
-extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
-		struct file *file_out, loff_t pos_out, loff_t len,
-		unsigned int remap_flags);
 extern int xfs_reflink_inode_has_shared_extents(struct xfs_trans *tp,
 		struct xfs_inode *ip, bool *has_shared);
 extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: remove unused xfs_reflink_remap_range declaration
  2026-09-04 12:36 [PATCH] xfs: remove unused xfs_reflink_remap_range declaration Anuj Gupta
@ 2026-09-05  1:11 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2026-09-05  1:11 UTC (permalink / raw)
  To: Anuj Gupta; +Cc: cem, linux-xfs, Anuj Gupta

On Fri, Sep 04, 2026 at 06:06:41PM +0530, Anuj Gupta wrote:
> From: Anuj Gupta <anuj20.g@samsung.com>
> 
> The implementation was inlined into xfs_file_remap_range() by commit
> 3fc9f5e40931 ("xfs: remove xfs_reflink_remap_range"), leaving this
> declaration orphaned.
> 
> Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
>  fs/xfs/xfs_reflink.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/fs/xfs/xfs_reflink.h b/fs/xfs/xfs_reflink.h
> index 9d1ed9bb0bee..683c1841e640 100644
> --- a/fs/xfs/xfs_reflink.h
> +++ b/fs/xfs/xfs_reflink.h
> @@ -48,9 +48,6 @@ extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
>  int xfs_reflink_end_atomic_cow(struct xfs_inode *ip, xfs_off_t offset,
>  		xfs_off_t count);
>  extern int xfs_reflink_recover_cow(struct xfs_mount *mp);
> -extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
> -		struct file *file_out, loff_t pos_out, loff_t len,
> -		unsigned int remap_flags);
>  extern int xfs_reflink_inode_has_shared_extents(struct xfs_trans *tp,
>  		struct xfs_inode *ip, bool *has_shared);
>  extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip,
> -- 
> 2.43.0
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-05  1:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 12:36 [PATCH] xfs: remove unused xfs_reflink_remap_range declaration Anuj Gupta
2026-09-05  1:11 ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox