1
0
Fork 0

[PATCH] device-mapper: __unlock_fs void

Make __unlock_fs() void.

From: Christoph Hellwig <hch@lst.de>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Alasdair G Kergon 2005-05-05 16:16:04 -07:00 committed by Linus Torvalds
parent d1782a3b0a
commit 3dcee8064b
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}
/*