zfs: annotate arc_buf_is_shared with __maybe_unused

To avoid a compilation warning. The routine turned out to be rather
stubborn when it comes to trying to ifdef it out.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik
2025-10-01 10:17:14 +00:00
parent bce8cdaf4c
commit 1bbc898dbf
+1
View File
@@ -1392,6 +1392,7 @@ arc_get_complevel(arc_buf_t *buf)
return (buf->b_hdr->b_complevel);
}
__maybe_unused
static inline boolean_t
arc_buf_is_shared(arc_buf_t *buf)
{