lkml.org 
[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/24] r/o bind mounts: stub functions
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@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: 2007-09-19 19:31    [W:0.155 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site