From: Alasdair G Kergon Date: Thu, 5 May 2005 23:16:04 +0000 (-0700) Subject: [PATCH] device-mapper: __unlock_fs void X-Git-Tag: v2.6.12-rc4~52 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dcee8064bd36c547b45514dfd33df4c12695428;p=linux-2.6 [PATCH] device-mapper: __unlock_fs void Make __unlock_fs() void. From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/dm.c b/drivers/md/dm.c index ea180af6d2..0e4c8d3ca9 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1009,18 +1009,16 @@ static int __lock_fs(struct mapped_device *md) return 0; } -static int __unlock_fs(struct mapped_device *md) +static void __unlock_fs(struct mapped_device *md) { if (!test_and_clear_bit(DMF_FS_LOCKED, &md->flags)) - return 0; + return; thaw_bdev(md->frozen_bdev, md->frozen_sb); bdput(md->frozen_bdev); md->frozen_sb = NULL; md->frozen_bdev = NULL; - - return 0; } /*