block_device_operations->release() should return void
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 May 2013 01:52:57 +0000 (21:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 7 May 2013 06:16:21 +0000 (02:16 -0400)
commitdb2a144bedd58b3dcf19950c2f476c58c9f39d18
tree931f1b5a8e6bafe388b317bce02a9fd9af309d38
parenta8ca889ed9585894d53fd8919d80cbe8baff09e7
block_device_operations->release() should return void

The value passed is 0 in all but "it can never happen" cases (and those
only in a couple of drivers) *and* it would've been lost on the way
out anyway, even if something tried to pass something meaningful.
Just don't bother.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
37 files changed:
arch/um/drivers/ubd_kern.c
arch/xtensa/platforms/iss/simdisk.c
drivers/block/amiflop.c
drivers/block/aoe/aoeblk.c
drivers/block/ataflop.c
drivers/block/cciss.c
drivers/block/cpqarray.c
drivers/block/drbd/drbd_main.c
drivers/block/floppy.c
drivers/block/loop.c
drivers/block/paride/pcd.c
drivers/block/paride/pd.c
drivers/block/paride/pf.c
drivers/block/pktcdvd.c
drivers/block/rbd.c
drivers/block/swim.c
drivers/block/swim3.c
drivers/block/xen-blkfront.c
drivers/block/xsysace.c
drivers/block/z2ram.c
drivers/cdrom/gdrom.c
drivers/ide/ide-cd.c
drivers/ide/ide-gd.c
drivers/ide/ide-tape.c
drivers/md/dm.c
drivers/md/md.c
drivers/memstick/core/mspro_block.c
drivers/message/i2o/i2o_block.c
drivers/mmc/card/block.c
drivers/mtd/mtd_blkdevs.c
drivers/s390/block/dasd.c
drivers/s390/block/dcssblk.c
drivers/s390/block/scm_blk.c
drivers/scsi/sd.c
drivers/scsi/sr.c
fs/block_dev.c
include/linux/blkdev.h