aboutsummaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r--fs/block_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index aaa8301f43f1..36c0e7af9d0f 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -651,7 +651,8 @@ static void free_bd_holder(struct bd_holder *bo)
651 * If found, increment the reference count and return the pointer. 651 * If found, increment the reference count and return the pointer.
652 * If not found, returns NULL. 652 * If not found, returns NULL.
653 */ 653 */
654static int find_bd_holder(struct block_device *bdev, struct bd_holder *bo) 654static struct bd_holder *find_bd_holder(struct block_device *bdev,
655 struct bd_holder *bo)
655{ 656{
656 struct bd_holder *tmp; 657 struct bd_holder *tmp;
657 658
@@ -677,7 +678,6 @@ static int find_bd_holder(struct block_device *bdev, struct bd_holder *bo)
677 */ 678 */
678static int add_bd_holder(struct block_device *bdev, struct bd_holder *bo) 679static int add_bd_holder(struct block_device *bdev, struct bd_holder *bo)
679{ 680{
680 struct bd_holder *tmp;
681 int ret; 681 int ret;
682 682
683 if (!bo) 683 if (!bo)