summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_bmap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-06-02 14:58:59 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-06-02 14:58:59 -0700
commit5a981e4ea8ff8062e7c7ea8fc4a1565e4820a08b (patch)
tree6ed9b5856d06a49fa8b8bfa6252386329ada4c8c /fs/xfs/libxfs/xfs_bmap.h
parent9673261c32dc2f30863b803374b726a72d16b07c (diff)
downloadlinux-stable-5a981e4ea8ff8062e7c7ea8fc4a1565e4820a08b.tar.gz
linux-stable-5a981e4ea8ff8062e7c7ea8fc4a1565e4820a08b.tar.bz2
linux-stable-5a981e4ea8ff8062e7c7ea8fc4a1565e4820a08b.zip
xfs: mark xfs_bmap_set_attrforkoff static
xfs_bmap_set_attrforkoff is only used inside of xfs_bmap.c, so mark it static. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.h')
-rw-r--r--fs/xfs/libxfs/xfs_bmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.h b/fs/xfs/libxfs/xfs_bmap.h
index f9a390ecfb1d..67641f669918 100644
--- a/fs/xfs/libxfs/xfs_bmap.h
+++ b/fs/xfs/libxfs/xfs_bmap.h
@@ -187,7 +187,6 @@ void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno,
xfs_filblks_t len);
unsigned int xfs_bmap_compute_attr_offset(struct xfs_mount *mp);
int xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd);
-int xfs_bmap_set_attrforkoff(struct xfs_inode *ip, int size, int *version);
void xfs_bmap_local_to_extents_empty(struct xfs_trans *tp,
struct xfs_inode *ip, int whichfork);
void __xfs_bmap_add_free(struct xfs_trans *tp, xfs_fsblock_t bno,