projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Btrfs progs v4.15
[platform/upstream/btrfs-progs.git]
/
send.h
diff --git
a/send.h
b/send.h
index
e8da785
..
fe613cb
100644
(file)
--- a/
send.h
+++ b/
send.h
@@
-17,6
+17,9
@@
* Boston, MA 021110-1307, USA.
*/
* Boston, MA 021110-1307, USA.
*/
+#ifndef __BTRFS_SEND_H__
+#define __BTRFS_SEND_H__
+
#include "ctree.h"
#ifdef __cplusplus
#include "ctree.h"
#ifdef __cplusplus
@@
-26,7
+29,7
@@
extern "C" {
#define BTRFS_SEND_STREAM_MAGIC "btrfs-stream"
#define BTRFS_SEND_STREAM_VERSION 1
#define BTRFS_SEND_STREAM_MAGIC "btrfs-stream"
#define BTRFS_SEND_STREAM_VERSION 1
-#define BTRFS_SEND_BUF_SIZE
(1024 * 64)
+#define BTRFS_SEND_BUF_SIZE
SZ_64K
#define BTRFS_SEND_READ_SIZE (1024 * 48)
enum btrfs_tlv_type {
#define BTRFS_SEND_READ_SIZE (1024 * 48)
enum btrfs_tlv_type {
@@
-140,3
+143,5
@@
long btrfs_ioctl_send(struct file *mnt_file, void __user *arg);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
+
+#endif