Re: [PATCH 1/5] fsnotify/vfsmount: add fsnotify fields to structvfsmount

From: Eric Paris
Date: Fri Dec 04 2009 - 10:46:32 EST


On Fri, 2009-12-04 at 10:39 -0500, Christoph Hellwig wrote:
> On Thu, Dec 03, 2009 at 12:53:15AM -0500, Eric Paris wrote:
> > From: Andreas Gruenbacher <agruen@xxxxxxx>
> >
> > This patch adds the list and mask fields needed to support vfsmount marks.
> > These are the same fields fsnotify needs on an inode. They are not used,
> > just declared and we note where the cleanup hook should be (the function is
> > not yet defined)
>
> What's the rationale for adding them?

As opposed to 'global' listeners I've discussed before, Andreas ask me
to write per mount listeners. It's somewhere in between global and per
inode. With this series One can now register to listen on a struct
vfsmount instead. I'll update this patch description to better explain
the point.

-Eric


--
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/