Re: [PATCH] lockfs patch for 2.6

From: Christoph Hellwig
Date: Fri Mar 12 2004 - 10:54:15 EST

On Fri, Mar 12, 2004 at 10:50:53AM -0500, Chris Mason wrote:
> Would you like this better:
> device mapper code:
> fsync_bdev(bdev);
> s = freeze_fs(bdev);
> < create snap shot >
> thaw_fs(bdev, s);

Hmm, I actually thought about moving the fsync_bdev into
freeze_fs, but having it separate might more sense indeed.

> thaw_fs needs the bdev so it can up the bdev mount semaphore.

sb->s_bdev should do it aswell

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at