lkml.org 
[lkml]   [2007]   [May]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 25 May 2007 06:27:51 +0000
From"young dave" <>
SubjectRe: 2.6.22-rc2-mm1 NTFS & SLUB related fix
Hi  Andrew,

> So I think this was meant:
>
> --- a/fs/ntfs/inode.c~a
> +++ a/fs/ntfs/inode.c
> @@ -140,7 +140,7 @@ static int ntfs_init_locked_inode(struct
>                 if (!ni->name)
>                         return -ENOMEM;
>                 memcpy(ni->name, na->name, i);
> -               ni->name[i] = 0;
> +               ni->name[na->name_len] = 0;
>         }
>         return 0;
>  }
> _
>

I tested it , it doesn't work.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-25 06:33    [from the cache]
©2003-2008