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

From: Cyrill Gorcunov
Date: Mon Jul 21 2008 - 06:16:40 EST


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

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