xfs: remove unused xfs_reflink_remap_range declaration
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.
Signed-off-by Anuj Gupta <[email protected]>
--- fs/xfs/xfs_reflink.h | 3 --- 1 file changed, 3 deletions(-)
fs/xfs/xfs_reflink.h +0 -3
@@ -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
Quoted 7 lines · Anuj Gupta
From: Anuj Gupta <[email protected]>
The implementation was inlined into
xfs_file_remap_range()by commit3fc9f5e40931("xfs: removexfs_reflink_remap_range"), leaving this declaration orphaned.Signed-off-by Anuj Gupta <[email protected]>
Reviewed-by "Darrick J. Wong" <[email protected]>
--D
Quoted 22 lines
--- fs/xfs/xfs_reflink.h | 3 --- 1 file changed, 3 deletions(-)fs/xfs/xfs_reflink.h +0
-3@@ -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
Quoted 5 lines · Anuj Gupta
The implementation was inlined into
xfs_file_remap_range()by commit3fc9f5e40931("xfs: removexfs_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]>