Messages in this thread Patch in this message | | | Date | Wed, 4 May 2005 18:03:59 +0100 | From | Alasdair G Kergon <> | Subject | Re: [PATCH] device-mapper: [2/5] __unlock_fs void |
| |
Make __unlock_fs() void.
From: Christoph Hellwig <hch@lst.de> --- diff/drivers/md/dm.c 2005-04-21 16:06:40.000000000 +0100 +++ source/drivers/md/dm.c 2005-04-21 16:07:21.000000000 +0100 @@ -1009,18 +1009,16 @@ 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; } /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |