2005-03-19 13:19:12

by Domen Puncer

[permalink] [raw]
Subject: [patch 05/10] Spelling cleanups in shrinker code



Just a few small cleanups to make this coherent english.

Signed-Off-By: Martin Hicks <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
---


kj-domen/include/linux/mm.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN include/linux/mm.h~typo-include_linux_mm.h include/linux/mm.h
--- kj/include/linux/mm.h~typo-include_linux_mm.h 2005-03-18 20:05:17.000000000 +0100
+++ kj-domen/include/linux/mm.h 2005-03-18 20:05:17.000000000 +0100
@@ -638,9 +638,9 @@ extern unsigned long do_mremap(unsigned
* These functions are passed a count `nr_to_scan' and a gfpmask. They should
* scan `nr_to_scan' objects, attempting to free them.
*
- * The callback must the number of objects which remain in the cache.
+ * The callback must return the number of objects which remain in the cache.
*
- * The callback will be passes nr_to_scan == 0 when the VM is querying the
+ * The callback will be passed nr_to_scan == 0 when the VM is querying the
* cache size, so a fastpath for that case is appropriate.
*/
typedef int (*shrinker_t)(int nr_to_scan, unsigned int gfp_mask);
_