Re: Using get_cwd inside a module.

From: Christoph Hellwig
Date: Sat Nov 22 2003 - 05:24:35 EST


On Sat, Nov 22, 2003 at 10:33:34AM +0100, Juergen Hasch wrote:
> Am Samstag, 22. November 2003 09:30 schrieb Christoph Hellwig:
> > The basic problem is that you shouldn't call syscalls from kernelspace.
> > Have you looked at dnotify to look for changed files instead?
>
> Dnotify doesn't return the file names that changed, changedfiles does.
> I've looked into this, because Samba would benefit from such a functionality.
>
> So maybe it would be possible to teach dnotify to return file names
> (e.g. using netlink) ?

Well, you can't return filenames. There's no unique path to a give
file.

What are the exact requirements of changedfiles or samba?
-
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/