aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/libxfs/xfs_bmap.c
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.c
parentxfs: Remove redundant assignment to busy (diff)
downloadwireguard-linux-5a981e4ea8ff8062e7c7ea8fc4a1565e4820a08b.tar.xz
wireguard-linux-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.c')
-rw-r--r--fs/xfs/libxfs/xfs_bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c
index a3e0e6f672d6..7eb6b28a4c30 100644
--- a/fs/xfs/libxfs/xfs_bmap.c
+++ b/fs/xfs/libxfs/xfs_bmap.c
@@ -1028,7 +1028,7 @@ xfs_bmap_add_attrfork_local(
/*
* Set an inode attr fork offset based on the format of the data fork.
*/
-int
+static int
xfs_bmap_set_attrforkoff(
struct xfs_inode *ip,
int size,