aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dbuf.c
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-15 14:30:37 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:20:38 -0700
commit65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (patch)
tree4740b896f8b5fc114ae9a96c6581776799ffeb3a /module/zfs/dbuf.c
parent1fa5c7af3314b4c556bd86e3a49e3497a5ed72ed (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'module/zfs/dbuf.c')
-rw-r--r--module/zfs/dbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c
index be6a76830..207d59439 100644
--- a/module/zfs/dbuf.c
+++ b/module/zfs/dbuf.c
@@ -588,7 +588,7 @@ dbuf_is_metadata(dmu_buf_impl_t *db)
* distributed between all sublists and uses this assumption when
* deciding which sublist to evict from and how much to evict from it.
*/
-unsigned int
+static unsigned int
dbuf_cache_multilist_index_func(multilist_t *ml, void *obj)
{
dmu_buf_impl_t *db = obj;