lkml.org 
[lkml]   [2005]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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/
\
 
 \ /
  Last update: 2005-05-04 19:10    [W:0.022 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site