[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>
This commit is contained in:
Alasdair G Kergon 2005-05-05 16:16:04 -07:00 committed by Linus Torvalds
parent d1782a3b0a
commit 3dcee8064b

View file

@ -1009,18 +1009,16 @@ static int __lock_fs(struct mapped_device *md)
return 0; 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)) if (!test_and_clear_bit(DMF_FS_LOCKED, &md->flags))
return 0; return;
thaw_bdev(md->frozen_bdev, md->frozen_sb); thaw_bdev(md->frozen_bdev, md->frozen_sb);
bdput(md->frozen_bdev); bdput(md->frozen_bdev);
md->frozen_sb = NULL; md->frozen_sb = NULL;
md->frozen_bdev = NULL; md->frozen_bdev = NULL;
return 0;
} }
/* /*