summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-11-17 14:11:34 -0500
committerMike Snitzer <snitzer@redhat.com>2015-11-17 14:18:49 -0500
commit647a20d5cad7477033bc021ec9dd75edf4bbf9a0 (patch)
tree459ab91e5d61c98a2607f5414af593d46705eaa0 /drivers/md/dm-mpath.c
parent5bbbfdf685657771fda05b926b28ca0f79163a28 (diff)
downloadlinux-647a20d5cad7477033bc021ec9dd75edf4bbf9a0.tar.gz
linux-647a20d5cad7477033bc021ec9dd75edf4bbf9a0.tar.bz2
linux-647a20d5cad7477033bc021ec9dd75edf4bbf9a0.zip
dm: do not reuse dm_blk_ioctl block_device input as local variable
(Ab)using the @bdev passed to dm_blk_ioctl() opens the potential for targets' .prepare_ioctl to fail if they go on to check the bdev for !NULL. Fixes: e56f81e0b01e ("dm: refactor ioctl handling") Reported-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
0 files changed, 0 insertions, 0 deletions