Li Zefan 88b387824f [PATCH] vfs: use kstrdup() and check failing allocation
- use kstrdup() instead of kmalloc() + memcpy()
- return NULL if allocating ->mnt_devname failed
- mnt_devname should be const

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2008-07-26 20:53:24 -04:00
..
2008-07-03 09:59:03 -05:00
2008-07-24 10:47:33 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 12:00:05 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:06 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:06 -07:00
2008-07-14 19:10:52 +03:00
2008-07-26 12:00:05 -07:00
2008-07-26 12:00:05 -07:00
2008-07-25 10:53:35 -07:00