dm: return earlier from dm_blk_ioctl if target doesn't implement .ioctl
authorMike Snitzer <snitzer@redhat.com>
Sun, 16 Nov 2014 19:21:47 +0000 (14:21 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 19 Nov 2014 16:24:56 +0000 (11:24 -0500)
commit4d341d8216336174d35cd2575b6b9e4267a88ac8
tree0792adf981d87cd1443e62b3aadeb99bd8b5feca
parent5ec02084f60f1537df850817fb91a16072cba4e7
dm: return earlier from dm_blk_ioctl if target doesn't implement .ioctl

No point checking if the device is suspended if the current target
doesn't even implement .ioctl

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c