[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070921164754.8fc03ab1.akpm@linux-foundation.org>
Date: Fri, 21 Sep 2007 16:47:54 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Dave Hansen <haveblue@...ibm.com>
Cc: linux-kernel@...r.kernel.org, hch@...radead.org
Subject: Re: [PATCH 07/25] r/o bind mounts: elevate write count for some
ioctls
On Fri, 21 Sep 2007 16:39:40 -0700
Dave Hansen <haveblue@...ibm.com> wrote:
> On Fri, 2007-09-21 at 16:03 -0700, Andrew Morton wrote:
> > Dave Hansen <haveblue@...ibm.com> wrote:
> >
> > > Some ioctl()s can cause writes to the filesystem. Take
> > > these, and make them use mnt_want/drop_write() instead.
> > >
> > > We need to pass the filp one layer deeper in XFS, but
> > > somebody _just_ pulled it out in February because nobody
> > > was using it, so I don't feel guilty for adding it back.
> >
> > Note that -mm's ext2-reservations.patch adds EXT2_IOC_SETRSVSZ,
> > and it doesn't do mnt_want_write().
>
> That doesn't quite apply to mainline (at least after the patches I just
> sent). I'll wait and send you one on top of the next -mm so that I can
> get a coherent view of what's going on if that's all right.
>
Sure, that's OK.
But I only noticed it because I happened to have my nose in there fixing a
reject.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists