diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 18:38:13 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 18:38:13 -0700 | 
| commit | 9a79b2274186fade17134929d4f85b70d59a3840 (patch) | |
| tree | d74e9ecc83ef617166445501b49087726595fb63 /fs/smbfs | |
| parent | 75473c1d3930896bbabcc99bb58fafd53ef42473 (diff) | |
| parent | 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac (diff) | |
| download | olio-linux-3.10-9a79b2274186fade17134929d4f85b70d59a3840.tar.xz olio-linux-3.10-9a79b2274186fade17134929d4f85b70d59a3840.zip  | |
Merge branch 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
  mm: Remove slab destructors from kmem_cache_create().
Diffstat (limited to 'fs/smbfs')
| -rw-r--r-- | fs/smbfs/inode.c | 4 | ||||
| -rw-r--r-- | fs/smbfs/request.c | 2 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c index 6724a6cf01f..73d1450a95d 100644 --- a/fs/smbfs/inode.c +++ b/fs/smbfs/inode.c @@ -73,14 +73,14 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag  	inode_init_once(&ei->vfs_inode);  } -  +  static int init_inodecache(void)  {  	smb_inode_cachep = kmem_cache_create("smb_inode_cache",  					     sizeof(struct smb_inode_info),  					     0, (SLAB_RECLAIM_ACCOUNT|  						SLAB_MEM_SPREAD), -					     init_once, NULL); +					     init_once);  	if (smb_inode_cachep == NULL)  		return -ENOMEM;  	return 0; diff --git a/fs/smbfs/request.c b/fs/smbfs/request.c index 3f54a0f80fa..ca4b2d59c0c 100644 --- a/fs/smbfs/request.c +++ b/fs/smbfs/request.c @@ -40,7 +40,7 @@ int smb_init_request_cache(void)  	req_cachep = kmem_cache_create("smb_request",  				       sizeof(struct smb_request), 0,  				       SMB_SLAB_DEBUG | SLAB_HWCACHE_ALIGN, -				       NULL, NULL); +				       NULL);  	if (req_cachep == NULL)  		return -ENOMEM;  |