lkml.org 
[lkml]   [2008]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vfs: use kstrdup()
[Cyrill Gorcunov - Sat, Jul 19, 2008 at 05:13:17PM +0400]
[...]
| | - }
| | - }
| | + mnt->mnt_devname = kstrdup(name, GFP_KERNEL);
| | }
| | return mnt;
| | }
| | --
| | 1.5.4.rc3
| |
| |
|
| but kstrdup may return NULL - is it safe there?
| Sorry if that "not smart" question.
|
| - Cyrill -

ah, I see it is safe - sorry for noise

- Cyrill -


\
 
 \ /
  Last update: 2008-07-19 15:21    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site