Quiet the sparse warning: warning: symbol ''btrfs_compress_op'' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Chris Mason <chris.mason@oracle.com> --- diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 8ec5d86..3e8c133 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -726,7 +726,7 @@ static int comp_num_workspace[BTRFS_COMPRESS_TYPES]; static atomic_t comp_alloc_workspace[BTRFS_COMPRESS_TYPES]; static wait_queue_head_t comp_workspace_wait[BTRFS_COMPRESS_TYPES]; -struct btrfs_compress_op *btrfs_compress_op[] = { +static struct btrfs_compress_op *btrfs_compress_op[] = { &btrfs_zlib_compress, &btrfs_lzo_compress, };