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

From: Pekka Enberg
Date: Mon Jul 21 2008 - 06:18:23 EST


On Mon, 2008-07-21 at 14:16 +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>

Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

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