mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] slab: remove SLAB_NOFS
SLAB_NOFS is an alias of GFP_NOFS. Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
55acbda096
commit
e6b4f8da3a
15 changed files with 17 additions and 18 deletions
|
|
@ -1272,7 +1272,7 @@ ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec)
|
|||
{
|
||||
ntfs_attr_search_ctx *ctx;
|
||||
|
||||
ctx = kmem_cache_alloc(ntfs_attr_ctx_cache, SLAB_NOFS);
|
||||
ctx = kmem_cache_alloc(ntfs_attr_ctx_cache, GFP_NOFS);
|
||||
if (ctx)
|
||||
ntfs_attr_init_search_ctx(ctx, ni, mrec);
|
||||
return ctx;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *idx_ni)
|
|||
{
|
||||
ntfs_index_context *ictx;
|
||||
|
||||
ictx = kmem_cache_alloc(ntfs_index_ctx_cache, SLAB_NOFS);
|
||||
ictx = kmem_cache_alloc(ntfs_index_ctx_cache, GFP_NOFS);
|
||||
if (ictx)
|
||||
*ictx = (ntfs_index_context){ .idx_ni = idx_ni };
|
||||
return ictx;
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ struct inode *ntfs_alloc_big_inode(struct super_block *sb)
|
|||
ntfs_inode *ni;
|
||||
|
||||
ntfs_debug("Entering.");
|
||||
ni = kmem_cache_alloc(ntfs_big_inode_cache, SLAB_NOFS);
|
||||
ni = kmem_cache_alloc(ntfs_big_inode_cache, GFP_NOFS);
|
||||
if (likely(ni != NULL)) {
|
||||
ni->state = 0;
|
||||
return VFS_I(ni);
|
||||
|
|
@ -349,7 +349,7 @@ static inline ntfs_inode *ntfs_alloc_extent_inode(void)
|
|||
ntfs_inode *ni;
|
||||
|
||||
ntfs_debug("Entering.");
|
||||
ni = kmem_cache_alloc(ntfs_inode_cache, SLAB_NOFS);
|
||||
ni = kmem_cache_alloc(ntfs_inode_cache, GFP_NOFS);
|
||||
if (likely(ni != NULL)) {
|
||||
ni->state = 0;
|
||||
return ni;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue