lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -V2 09/13] fsnotify: add correlations between events
On Fri, 27 Mar 2009 16:05:54 -0400
Eric Paris <eparis@redhat.com> wrote:

> inotify sends userspace a correlation between events when they are related
> (aka when dentries are moved). This adds that same support for all
> fsnotify events.
>

So is this a new userspace-visible feature?

>
> ...
>
> +static atomic_t fsnotify_sync_cookie = ATOMIC_INIT(0);
> +
> +u32 fsnotify_get_cookie(void)
> +{
> + return atomic_inc_return(&fsnotify_sync_cookie);
> +}
> +EXPORT_SYMBOL_GPL(fsnotify_get_cookie);

Please make a poilcy of documenting the global symbols. Especially the
exported-to-modules symbols. At least.

>
> ...
>



\
 
 \ /
  Last update: 2009-04-08 01:15    [W:0.091 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site