pagelist.c (62ed948cb1405fe95d61d8c6445c102e0c9da0a6) pagelist.c (266bee88699ddbde42ab303bbc426a105cc49809)
1/*
2 * linux/fs/nfs/pagelist.c
3 *
4 * A set of helper functions for managing NFS read and write requests.
5 * The main purpose of these routines is to provide support for the
6 * coalescing of several requests into a single RPC call.
7 *
8 * Copyright 2000, 2001 (c) Trond Myklebust <trond.myklebust@fys.uio.no>

--- 376 unchanged lines hidden (view full) ---

385 0, SLAB_HWCACHE_ALIGN,
386 NULL, NULL);
387 if (nfs_page_cachep == NULL)
388 return -ENOMEM;
389
390 return 0;
391}
392
1/*
2 * linux/fs/nfs/pagelist.c
3 *
4 * A set of helper functions for managing NFS read and write requests.
5 * The main purpose of these routines is to provide support for the
6 * coalescing of several requests into a single RPC call.
7 *
8 * Copyright 2000, 2001 (c) Trond Myklebust <trond.myklebust@fys.uio.no>

--- 376 unchanged lines hidden (view full) ---

385 0, SLAB_HWCACHE_ALIGN,
386 NULL, NULL);
387 if (nfs_page_cachep == NULL)
388 return -ENOMEM;
389
390 return 0;
391}
392
393void __exit nfs_destroy_nfspagecache(void)
393void nfs_destroy_nfspagecache(void)
394{
395 if (kmem_cache_destroy(nfs_page_cachep))
396 printk(KERN_INFO "nfs_page: not all structures were freed\n");
397}
398
394{
395 if (kmem_cache_destroy(nfs_page_cachep))
396 printk(KERN_INFO "nfs_page: not all structures were freed\n");
397}
398