X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fntfs%2Funistr.c;h=005ca4b0f132fc1e4515a5f5b9e5e7d1acd26726;hb=3c375c6f3a809d0d999d6dc933634f0b97ed7ae9;hp=6a495f7369f9e7fbd170d0802014f4d750d6c6ae;hpb=59458f40e25915a355d8b1d701425fe9f4f9ea23;p=linux-2.6 diff --git a/fs/ntfs/unistr.c b/fs/ntfs/unistr.c index 6a495f7369..005ca4b0f1 100644 --- a/fs/ntfs/unistr.c +++ b/fs/ntfs/unistr.c @@ -266,7 +266,7 @@ int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, /* We do not trust outside sources. */ if (likely(ins)) { - ucs = kmem_cache_alloc(ntfs_name_cache, SLAB_NOFS); + ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); if (likely(ucs)) { for (i = o = 0; i < ins_len; i += wc_len) { wc_len = nls->char2uni(ins + i, ins_len - i,