Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190954
b: refs/heads/master
c: bdfae14
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed May 6, 2010
1 parent 5b0f673 commit a2a3429
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26efa0bac9dc3587ee8892c06642735bcded59e5
refs/heads/master: bdfae149c5b7430b9a26371f14b2d385fd3a4389
13 changes: 0 additions & 13 deletions trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ extern mempool_t *cifs_sm_req_poolp;
extern mempool_t *cifs_req_poolp;
extern mempool_t *cifs_mid_poolp;

extern struct kmem_cache *cifs_oplock_cachep;

static int
cifs_read_super(struct super_block *sb, void *data,
const char *devname, int silent)
Expand Down Expand Up @@ -289,7 +287,6 @@ static int cifs_permission(struct inode *inode, int mask)
static struct kmem_cache *cifs_inode_cachep;
static struct kmem_cache *cifs_req_cachep;
static struct kmem_cache *cifs_mid_cachep;
struct kmem_cache *cifs_oplock_cachep;
static struct kmem_cache *cifs_sm_req_cachep;
mempool_t *cifs_sm_req_poolp;
mempool_t *cifs_req_poolp;
Expand Down Expand Up @@ -939,15 +936,6 @@ cifs_init_mids(void)
return -ENOMEM;
}

cifs_oplock_cachep = kmem_cache_create("cifs_oplock_structs",
sizeof(struct oplock_q_entry), 0,
SLAB_HWCACHE_ALIGN, NULL);
if (cifs_oplock_cachep == NULL) {
mempool_destroy(cifs_mid_poolp);
kmem_cache_destroy(cifs_mid_cachep);
return -ENOMEM;
}

return 0;
}

Expand All @@ -956,7 +944,6 @@ cifs_destroy_mids(void)
{
mempool_destroy(cifs_mid_poolp);
kmem_cache_destroy(cifs_mid_cachep);
kmem_cache_destroy(cifs_oplock_cachep);
}

static int __init
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/cifs/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include "cifs_debug.h"

extern mempool_t *cifs_mid_poolp;
extern struct kmem_cache *cifs_oplock_cachep;

static struct mid_q_entry *
AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server)
Expand Down

0 comments on commit a2a3429

Please sign in to comment.