pagelist.c (05668381140309088443bf5dc53add4104610fbb) | pagelist.c (1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b) |
---|---|
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> --- 378 unchanged lines hidden (view full) --- 387 if (nfs_page_cachep == NULL) 388 return -ENOMEM; 389 390 return 0; 391} 392 393void nfs_destroy_nfspagecache(void) 394{ | 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> --- 378 unchanged lines hidden (view full) --- 387 if (nfs_page_cachep == NULL) 388 return -ENOMEM; 389 390 return 0; 391} 392 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"); | 395 kmem_cache_destroy(nfs_page_cachep); |
397} 398 | 396} 397 |