diff options
| author | 2013-05-05 22:11:03 -0400 | |
|---|---|---|
| committer | 2013-05-07 02:16:31 -0400 | |
| commit | 4385bab128911df14ab25f0b5ae1a48d7b53dd94 (patch) | |
| tree | d8c6f5557f09ebdf294eaba7eba01a140f8da78a /include/linux | |
| parent | block_device_operations->release() should return void (diff) | |
| download | linux-dev-4385bab128911df14ab25f0b5ae1a48d7b53dd94.tar.xz linux-dev-4385bab128911df14ab25f0b5ae1a48d7b53dd94.zip | |
make blkdev_put() return void
same story as with the previous patches - note that return
value of blkdev_close() is lost, since there's nowhere the
caller (__fput()) could return it to.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index b5a24ba83b6f..43db02e9c9fa 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2091,7 +2091,7 @@ extern struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, void *holder); extern struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder); -extern int blkdev_put(struct block_device *bdev, fmode_t mode); +extern void blkdev_put(struct block_device *bdev, fmode_t mode); #ifdef CONFIG_SYSFS extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk); extern void bd_unlink_disk_holder(struct block_device *bdev, |
