diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index d38c69b591cf..7c04752b76cb 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -825,8 +825,8 @@ cifs_init_mids(void) | |||
825 | sizeof (struct oplock_q_entry), 0, | 825 | sizeof (struct oplock_q_entry), 0, |
826 | SLAB_HWCACHE_ALIGN, NULL, NULL); | 826 | SLAB_HWCACHE_ALIGN, NULL, NULL); |
827 | if (cifs_oplock_cachep == NULL) { | 827 | if (cifs_oplock_cachep == NULL) { |
828 | kmem_cache_destroy(cifs_mid_cachep); | ||
829 | mempool_destroy(cifs_mid_poolp); | 828 | mempool_destroy(cifs_mid_poolp); |
829 | kmem_cache_destroy(cifs_mid_cachep); | ||
830 | return -ENOMEM; | 830 | return -ENOMEM; |
831 | } | 831 | } |
832 | 832 | ||