Revision 7f59203abeaf18bf3497b308891f95a4489810ad authored by Josef Bacik on 27 January 2010, 02:09:00 UTC, committed by Chris Mason on 28 January 2010, 21:20:39 UTC
Hit this problem while testing RAID1 failure stuff.  open_bdev_exclusive
returns ERR_PTR(), not NULL.  So change the return value properly.  This
is important if you accidently specify a device that doesn't exist when
trying to add a new device to an array, you will panic the box
dereferencing bdev.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent f48b907
History
File Mode Size
amijoy.txt -rw-r--r-- 7.5 KB
appletouch.txt -rw-r--r-- 3.1 KB
atarikbd.txt -rw-r--r-- 25.5 KB
bcm5974.txt -rw-r--r-- 2.2 KB
cd32.txt -rw-r--r-- 535 bytes
cs461x.txt -rw-r--r-- 2.1 KB
elantech.txt -rw-r--r-- 10.4 KB
ff.txt -rw-r--r-- 7.3 KB
gameport-programming.txt -rw-r--r-- 5.8 KB
iforce-protocol.txt -rw-r--r-- 7.5 KB
input-programming.txt -rw-r--r-- 10.2 KB
input.txt -rw-r--r-- 10.9 KB
interactive.fig -rw-r--r-- 1.4 KB
joystick-api.txt -rw-r--r-- 9.4 KB
joystick-parport.txt -rw-r--r-- 19.5 KB
joystick.txt -rw-r--r-- 20.1 KB
multi-touch-protocol.txt -rw-r--r-- 7.6 KB
notifier.txt -rw-r--r-- 1.7 KB
rotary-encoder.txt -rw-r--r-- 3.3 KB
sentelic.txt -rw-r--r-- 17.7 KB
shape.fig -rw-r--r-- 1.9 KB
walkera0701.txt -rw-r--r-- 3.8 KB
xpad.txt -rw-r--r-- 6.8 KB
yealink.txt -rw-r--r-- 6.0 KB

back to top