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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user