blkmapd: Use getconf(_SC_PAGE_SIZE)
authorLuk Claes <luk@debian.org>
Mon, 3 Oct 2011 12:42:20 +0000 (08:42 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 3 Oct 2011 12:49:21 +0000 (08:49 -0400)
commitfdc6e7eceb6db19bbab7928581f22ba87f257ea4
treea90b9c5216498f93c9b2a6d5bb58fe3540118e30
parentfef991230b6a4070e0793adf03d42514639111d3
blkmapd: Use getconf(_SC_PAGE_SIZE)

PAGE_SIZE is not exported by all architectures as it is not fixed: it
can depend on the model of the machine. So it's better to query the
system configuration for the actual page size on the machine.

Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/blkmapd/device-process.c