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-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-24 10:47:33 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-25 10:53:47 -07:00
2008-07-26 20:53:18 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:21 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:13 -04:00
2008-07-26 20:53:07 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:32 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-25 10:53:47 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:18 -04:00
2008-07-26 20:53:16 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:05 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:44 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:16 -04:00
2008-07-25 10:53:39 -07:00
2008-07-26 20:53:14 -04: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:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 12:00:02 -07:00
2008-07-26 12:00:06 -07:00
2008-07-25 10:53:35 -07:00
2008-07-26 20:53:22 -04:00
2008-07-26 20:53:06 -04:00
2008-07-14 19:10:52 +03:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:05 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:05 -07:00
2008-07-26 20:53:23 -04:00
2008-07-26 20:53:24 -04:00
2008-07-26 20:53:21 -04:00
2008-07-26 20:53:06 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-26 20:53:16 -04:00