Re: [-mm patch] inotify: fsnotify.h: use kstrdup

From: Adrian Bunk
Date: Fri Jul 01 2005 - 18:30:33 EST


On Fri, Jul 01, 2005 at 04:20:49PM -0700, Roland Dreier wrote:

> Why not just convert all calls of fsnotify_oldname_init() to kstrdup()
> and delete the inline function? The wrapper isn't adding much beyond
> hard-coding GFP_KERNEL.

There's a different wrapper for CONFIG_INOTIFY=n.

> - R.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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