Skip to contentSkip to conversation

Change max. buffer size for monwriter device.

S390 Martin Schwidefsky 1 participant 1 message Dec 28, 2006 s390

lore
Share & tools
lore
#0 lore raw

From: Melissa Howland <[email protected]>

[S390] Change max. buffer size for monwriter device.

Reduce the max. buffer size for the monwriter device to prevent a possible problem with the z/VM monitor service.

---

 drivers/s390/char/monwriter.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/s390/char/monwriter.c +1 -1
diff -urpN linux-2.6/drivers/s390/char/monwriter.c linux-2.6-patched/drivers/s390/char/monwriter.c
@@ -23,7 +23,7 @@
 #include <asm/appldata.h>
 #include <asm/monwriter.h>
 
-#define MONWRITE_MAX_DATALEN	4024
+#define MONWRITE_MAX_DATALEN	4010
 
 static int mon_max_bufs = 255;
 static int mon_buf_count;