Re: supporting functions missing from inotify patch

From: Robert Love
Date: Wed Jul 13 2005 - 14:31:30 EST


On Wed, 2005-07-13 at 13:43 -0500, Steve French wrote:

> I don't see an inode operation for registering inotify events in the fs
> (there is a file operation for dir_notify to register its events). In
> create_watch in fs/inotify.c I expected to see something like:

Why not use the existing dir_notify method? No point in adding another.

Add inotify hooks as needed to your filesystem's dir_notify.

> I also don't see exports for
> fsnotify_access
> fsnotify_modify
>
> Without these exports, network and cluster filesystems can't notify the
> local system about changes.

Eh?

They are in <linux/fsnotify.h>.

Robert Love


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