Commit 496a4d6d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Rearrange struct storage a bit, to bring it down to 64 bytes for

SENDFILE_WORKS 64-bit platforms.
parent 17523212
......@@ -374,6 +374,12 @@ struct workreq {
struct storage {
unsigned magic;
#define STORAGE_MAGIC 0x1a4e51c0
#ifdef SENDFILE_WORKS
int fd;
off_t where;
#endif
VTAILQ_ENTRY(storage) list;
struct stevedore *stevedore;
void *priv;
......@@ -381,11 +387,6 @@ struct storage {
unsigned char *ptr;
unsigned len;
unsigned space;
#ifdef SENDFILE_WORKS
int fd;
off_t where;
#endif
};
/* Object core structure ---------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment