Skip to contentSkip to conversation

xfs: remove unused xfs_reflink_remap_range declaration

PATCH Applied Anuj Gupta 3 participants 3 messages Sep 4 – Sep 16 XFS filesystem

lore
Share & tools
lore

Anuj Gupta

author
#0 lore raw

PATCH 1/1 xfs: remove unused xfs_reflink_remap_range declaration

From: Anuj Gupta <[email protected]>

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

---
 fs/xfs/xfs_reflink.h | 3 ---
 1 file changed, 3 deletions(-)
fs/xfs/xfs_reflink.h +0 -3
index 9d1ed9bb0bee..683c1841e640 100644
@@ -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,
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Anuj Gupta

From: Anuj Gupta <[email protected]>

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

--D

Quoted 22 lines
---
 fs/xfs/xfs_reflink.h | 3 ---
 1 file changed, 3 deletions(-)
fs/xfs/xfs_reflink.h +0 -3
index 9d1ed9bb0bee..683c1841e640 100644
@@ -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,
Signature · 1 line
2.43.0
maintainer Applied
#2 lore raw
In reply to Anuj Gupta
Quoted 5 lines · Anuj Gupta

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

Applied to for-next, thanks!

[1/1] xfs: remove unused xfs_reflink_remap_range declaration

      commit: c16b885ad6b589b233534ee99ade82110d2bc381

Best regards,

Signature · 1 line
Carlos Maiolino <[email protected]>