Use the macro DM_MAPIO_SUBMITTED instead of magic number 0
in dm-mpath.c/process_queued_bios.
Signed-off-by: Wang Sheng-Hui
---
drivers/md/dm-mpath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 7d3e572072f5
Dear,
Sorry to trouble you.
I noticed some code in dm-*.c like:
"
static int multipath_prepare_ioctl(struct dm_target *ti,
struct block_device **bdev, fmode_t *mode)
{
...
/*
* Only pass ioctls through if the device sizes match exactly.
*/
if (!r
DM_MOD_NAME_SIZE is not used in the kernel src.
Remove the macro define.
Signed-off-by: Wang Sheng-Hui
---
drivers/md/dm-target.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/md/dm-target.c b/drivers/md/dm-target.c
index c0d7e60820c4..314d17ca6466 100644
--- a/drivers/md/dm