patch-2.2.18 linux/drivers/s390/block/xpram.c

Next file: linux/drivers/s390/ccwcache.c
Previous file: linux/drivers/s390/block/dasd_fba.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/s390/block/xpram.c linux/drivers/s390/block/xpram.c
@@ -989,7 +989,7 @@
  fail_malloc:
 	read_ahead[major] = 0;
 	blk_dev[major].request_fn = NULL;
-	unregister_chrdev(major, "xpram");
+	unregister_blkdev(major, "xpram");
 	return result;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)