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
File | Mode | Size |
---|---|---|
dvb | ||
v4l | ||
.gitignore | -rw-r--r-- | 59 bytes |
Makefile | -rw-r--r-- | 7.7 KB |
alsa-driver-api.tmpl | -rw-r--r-- | 3.1 KB |
debugobjects.tmpl | -rw-r--r-- | 13.8 KB |
device-drivers.tmpl | -rw-r--r-- | 13.5 KB |
deviceiobook.tmpl | -rw-r--r-- | 11.0 KB |
filesystems.tmpl | -rw-r--r-- | 13.0 KB |
gadget.tmpl | -rw-r--r-- | 29.9 KB |
genericirq.tmpl | -rw-r--r-- | 15.6 KB |
kernel-api.tmpl | -rw-r--r-- | 8.8 KB |
kernel-hacking.tmpl | -rw-r--r-- | 42.7 KB |
kernel-locking.tmpl | -rw-r--r-- | 66.0 KB |
kgdb.tmpl | -rw-r--r-- | 18.7 KB |
libata.tmpl | -rw-r--r-- | 46.9 KB |
librs.tmpl | -rw-r--r-- | 8.0 KB |
lsm.tmpl | -rw-r--r-- | 12.0 KB |
mac80211.tmpl | -rw-r--r-- | 10.7 KB |
mcabook.tmpl | -rw-r--r-- | 3.0 KB |
media-entities.tmpl | -rw-r--r-- | 25.8 KB |
media-indices.tmpl | -rw-r--r-- | 9.6 KB |
media.tmpl | -rw-r--r-- | 4.4 KB |
mtdnand.tmpl | -rw-r--r-- | 44.6 KB |
networking.tmpl | -rw-r--r-- | 2.9 KB |
procfs-guide.tmpl | -rw-r--r-- | 19.5 KB |
procfs_example.c | -rw-r--r-- | 4.6 KB |
rapidio.tmpl | -rw-r--r-- | 4.6 KB |
regulator.tmpl | -rw-r--r-- | 9.8 KB |
s390-drivers.tmpl | -rw-r--r-- | 5.4 KB |
scsi.tmpl | -rw-r--r-- | 14.5 KB |
sh.tmpl | -rw-r--r-- | 2.6 KB |
stylesheet.xsl | -rw-r--r-- | 402 bytes |
tracepoint.tmpl | -rw-r--r-- | 2.9 KB |
uio-howto.tmpl | -rw-r--r-- | 33.4 KB |
usb.tmpl | -rw-r--r-- | 38.4 KB |
writing-an-alsa-driver.tmpl | -rw-r--r-- | 200.1 KB |
writing_usb_driver.tmpl | -rw-r--r-- | 17.0 KB |
z8530book.tmpl | -rw-r--r-- | 14.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...