diff options
Diffstat (limited to 'unmaintained/xnbd/remove-pagesize.patch')
-rw-r--r-- | unmaintained/xnbd/remove-pagesize.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/unmaintained/xnbd/remove-pagesize.patch b/unmaintained/xnbd/remove-pagesize.patch new file mode 100644 index 0000000000..61c91c1454 --- /dev/null +++ b/unmaintained/xnbd/remove-pagesize.patch @@ -0,0 +1,29 @@ +# HG changeset patch +# User hirofuchi +# Date 1393586706 -32400 +# Node ID 6cc644b989ecd4a2cdd7cd3dd2d5c40fd63537d7 +# Parent 34a08647f2e40d22960d8cb1de718a4391c15f3b +remove PAGESIZE + +diff --git a/xnbd.h b/trunk/xnbd.h +--- a/xnbd.h ++++ b/xnbd.h +@@ -189,7 +189,6 @@ + + + extern const unsigned int CBLOCKSIZE; +-extern unsigned int PAGESIZE; + + + +diff --git a/xnbd_common.c b/trunk/xnbd_common.c +--- a/xnbd_common.c ++++ b/xnbd_common.c +@@ -33,7 +33,6 @@ + * 1024 or 8192, which is different from the page size, is also possible, but not well tested. + **/ + const unsigned int CBLOCKSIZE = 4096; +-unsigned int PAGESIZE = 4096; + + const int XNBD_PORT = 8520; + |