summaryrefslogtreecommitdiff
path: root/include/linux/nbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nbd.h')
-rw-r--r--include/linux/nbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h
index bb58854a8061..d146ca10c0f5 100644
--- a/include/linux/nbd.h
+++ b/include/linux/nbd.h
@@ -88,7 +88,7 @@ struct nbd_request {
char handle[8];
__be64 from;
__be32 len;
-} __packed;
+} __attribute__((packed));
/*
* This is the reply packet that nbd-server sends back to the client after