From 65c7cc49bfcf49d38fc84552a17d7e8a3268e58e Mon Sep 17 00:00:00 2001 From: Arvind Sankar Date: Mon, 15 Jun 2020 14:30:37 -0400 Subject: Mark functions as static Mark functions used only in the same translation unit as static. This only includes functions that do not have a prototype in a header file either. Reviewed-by: Ryan Moeller Reviewed-by: Brian Behlendorf Signed-off-by: Arvind Sankar Closes #10470 --- module/os/freebsd/zfs/zfs_znode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/os/freebsd/zfs/zfs_znode.c') diff --git a/module/os/freebsd/zfs/zfs_znode.c b/module/os/freebsd/zfs/zfs_znode.c index e2f941415..8a2e55c67 100644 --- a/module/os/freebsd/zfs/zfs_znode.c +++ b/module/os/freebsd/zfs/zfs_znode.c @@ -1731,7 +1731,7 @@ zfs_grab_sa_handle(objset_t *osp, uint64_t obj, sa_handle_t **hdlp, return (0); } -void +static void zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, void *tag) { sa_handle_destroy(hdl); -- cgit v1.2.3