migration/block: rename BLOCK_SIZE macro
commita152bd00932a819af0f2ca3199e071e431fa93cb
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 18 Feb 2020 11:02:09 +0000 (18 11:02 +0000)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Feb 2020 08:25:49 +0000 (28 09:25 +0100)
treeba9526cecd68d17fca4bb4f4108dfa4d41ae2b72
parent26daeba4d6ad272f3372c02a4762cf565438042e
migration/block: rename BLOCK_SIZE macro

Both <linux/fs.h> and <sys/mount.h> define BLOCK_SIZE macros.  Avoiding
using that name in block/migration.c.

I noticed this when including <liburing.h> (Linux io_uring) from
"block/aio.h" and compilation failed.  Although patches adding that
include haven't been sent yet, it makes sense to rename the macro now in
case someone else stumbles on it in the meantime.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/block.c