summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-11-05 10:21:06 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-11-06 08:41:56 +0100
commit89f97496e81d2112b5e41416fe3020688c443818 (patch)
treee78122150d550bf644ca1a96916a5880823d3e04 /MAINTAINERS
parentgeneric-ipi: fix the smp_mb() placement (diff)
downloadlinux-89f97496e81d2112b5e41416fe3020688c443818.tar.xz
linux-89f97496e81d2112b5e41416fe3020688c443818.zip
block: fix __blkdev_get() for removable devices
Commit 0762b8bde9729f10f8e6249809660ff2ec3ad735 moved disk_get_part() in front of recursive get on the whole disk, which caused removable devices to try disk_get_part() before rescanning after a new media is inserted, which might fail legit open attempts or give the old partition. This patch fixes the problem by moving disk_get_part() after __blkdev_get() on the whole disk. This problem was spotted by Borislav Petkov. Signed-off-by: Tejun Heo <tj@kernel.org> Tested-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions