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    [W:0.021 / U:70.200 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site