Re: [PATCH] vfs: use kstrdup() and check failing allocation

From: Al Viro
Date: Mon Jul 21 2008 - 09:24:47 EST


On Mon, Jul 21, 2008 at 02:16:23PM +0400, Cyrill Gorcunov wrote:
> [Li Zefan - Mon, Jul 21, 2008 at 06:06:36PM +0800]
> | - use kstrdup() instead of kmalloc() + memcpy()
> | - return NULL if allocating ->mnt_devname failed
> | - mnt_devname should be const
> |
> | Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> | ---
> |
> | Andrew, please drop vfs-use-kstrdup.patch
> |
> | ---
>
> Thanks Li. I think Al will be fine with this version.
>
> So if you needed:
> Acked-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>

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