1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00

volume_id: swap - larger PAGE_SIZE support

This commit is contained in:
Matthias Koenig 2008-10-22 11:45:27 +02:00 committed by Kay Sievers
parent 111e4f81ff
commit fcd070d010

View File

@ -40,7 +40,7 @@ struct swap_header_v1_2 {
uint8_t volume_name[16];
} PACKED;
#define LARGEST_PAGESIZE 0x4000
#define LARGEST_PAGESIZE 0x10000
int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off, uint64_t size)
{