diff options
| author | Tejun Heo <[email protected]> | 2011-05-23 11:24:54 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-05-23 15:50:48 +0000 |
| commit | ff2a9941ca27ab18169d17b3803aca68b154951c (patch) | |
| tree | 18cc498e623ce1f97ad25a2618dd2a82166511c9 /net/unix/af_unix.c | |
| parent | Merge branch 'kvm-updates/2.6.40' of git://git.kernel.org/pub/scm/virt/kvm/kvm (diff) | |
| download | kernel-ff2a9941ca27ab18169d17b3803aca68b154951c.tar.gz kernel-ff2a9941ca27ab18169d17b3803aca68b154951c.zip | |
block: move bd_set_size() above rescan_partitions() in __blkdev_get()
02e352287a4 (block: rescan partitions on invalidated devices on
-ENOMEDIA too) relocated partition rescan above explicit bd_set_size()
to simplify condition check. As rescan_partitions() does its own bdev
size setting, this doesn't break anything; however,
rescan_partitions() prints out the following messages when adjusting
bdev size, which can be confusing.
sda: detected capacity change from 0 to 146815737856
sdb: detected capacity change from 0 to 146815737856
This patch restores the original order and remove the warning
messages.
stable: Please apply together with 02e352287a4 (block: rescan
partitions on invalidated devices on -ENOMEDIA too).
Signed-off-by: Tejun Heo <[email protected]>
Reported-by: Tony Luck <[email protected]>
Tested-by: Tony Luck <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
