Re: [PATCH 04/24] r/o bind mounts: stub functions

From: Christoph Hellwig
Date: Wed Sep 19 2007 - 13:29:00 EST


On Mon, Sep 17, 2007 at 11:27:23AM -0700, Dave Hansen wrote:
>
> This patch adds two function mnt_want_write() and
> mnt_drop_write(). These are used like a lock pair around
> and fs operations that might cause a write to the filesystem.
>
> Before these can become useful, we must first cover each
> place in the VFS where writes are performed with a
> want/drop pair. When that is complete, we can actually
> introduce code that will safely check the counts before
> allowing r/w<->r/o transitions to occur.

kerneldoc comments, please!

Otherwise looks fine.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/