aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-07 18:14:53 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-07 18:14:53 -0400
commit292088ee032d0df59e7c8a7a00e9b97260146078 (patch)
tree99e5eee404285d4e2b6d282113cccee58236580f /drivers/mmc
parentbc2d968f0ec698c66750e0ad1c1d35568fe93c05 (diff)
parent254844d3b9959b52fedf2f22810cc66e82a1ca16 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull more vfs updates from Al Viro: "A couple of fixes + getting rid of __blkdev_put() return value" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: proc: Use PDE attribute setting accessor functions make blkdev_put() return void block_device_operations->release() should return void mtd_blktrans_ops->release() should return void hfs: SMP race on directory close()
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/card/block.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index e12a03cc2a6e..dd27b0783d52 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -304,14 +304,13 @@ static int mmc_blk_open(struct block_device *bdev, fmode_t mode)
304 return ret; 304 return ret;
305} 305}
306 306
307static int mmc_blk_release(struct gendisk *disk, fmode_t mode) 307static void mmc_blk_release(struct gendisk *disk, fmode_t mode)
308{ 308{
309 struct mmc_blk_data *md = disk->private_data; 309 struct mmc_blk_data *md = disk->private_data;
310 310
311 mutex_lock(&block_mutex); 311 mutex_lock(&block_mutex);
312 mmc_blk_put(md); 312 mmc_blk_put(md);
313 mutex_unlock(&block_mutex); 313 mutex_unlock(&block_mutex);
314 return 0;
315} 314}
316 315
317static int 316static int