aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/dmu_recv.c
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2022-01-14 23:37:55 +0000
committerGitHub <noreply@github.com>2022-01-14 23:37:55 +0000
commit18168da727427e28914235137daebe06c23069cd (patch)
tree71a8769a2a12dd4add4f7abfb5a1e4f51f09cf18 /module/zfs/dmu_recv.c
parent7adc19009817303af10c8b3b7617850994cfb9e2 (diff)
downloadsrc-18168da727427e28914235137daebe06c23069cd.tar.gz
src-18168da727427e28914235137daebe06c23069cd.zip
Diffstat (limited to 'module/zfs/dmu_recv.c')
-rw-r--r--module/zfs/dmu_recv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/zfs/dmu_recv.c b/module/zfs/dmu_recv.c
index 0ec46bdb4f47..f132219c9e1d 100644
--- a/module/zfs/dmu_recv.c
+++ b/module/zfs/dmu_recv.c
@@ -64,12 +64,12 @@
#endif
#include <sys/zfs_file.h>
-int zfs_recv_queue_length = SPA_MAXBLOCKSIZE;
-int zfs_recv_queue_ff = 20;
-int zfs_recv_write_batch_size = 1024 * 1024;
+static int zfs_recv_queue_length = SPA_MAXBLOCKSIZE;
+static int zfs_recv_queue_ff = 20;
+static int zfs_recv_write_batch_size = 1024 * 1024;
-static char *dmu_recv_tag = "dmu_recv_tag";
-const char *recv_clone_name = "%recv";
+static void *const dmu_recv_tag = "dmu_recv_tag";
+const char *const recv_clone_name = "%recv";
static int receive_read_payload_and_next_header(dmu_recv_cookie_t *ra, int len,
void *buf);