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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux