From f7e9bfc4da8cf1afe6282ae0f13239c1d614167d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 10 Feb 2015 13:17:17 +0000 Subject: [PATCH] scst_mem: Spelling fix (merge r5952 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6044 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_mem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scst/src/scst_mem.c b/scst/src/scst_mem.c index f392e1613..91847cd6d 100644 --- a/scst/src/scst_mem.c +++ b/scst/src/scst_mem.c @@ -341,7 +341,7 @@ out_unlock_put: goto out; } -static unsigned long __sgv_can_be_shrinked(void) +static unsigned long __sgv_can_be_shrunk(void) { unsigned long res; struct sgv_pool *pool; @@ -365,10 +365,10 @@ static unsigned long __sgv_can_be_shrinked(void) } #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 0) -static unsigned long sgv_can_be_shrinked(struct shrinker *shrinker, +static unsigned long sgv_can_be_shrunk(struct shrinker *shrinker, struct shrink_control *sc) { - return __sgv_can_be_shrinked(); + return __sgv_can_be_shrunk(); } static unsigned long sgv_scan_shrink(struct shrinker *shrinker, @@ -404,7 +404,7 @@ static int sgv_shrink(struct shrinker *shrinker, struct shrink_control *sc) nr = __sgv_shrink(nr, SGV_MIN_SHRINK_INTERVAL, &freed); TRACE_MEM("Left %d", nr); } else - nr = __sgv_can_be_shrinked(); + nr = __sgv_can_be_shrunk(); TRACE_EXIT_RES(nr); return nr; @@ -1790,7 +1790,7 @@ int scst_sgv_pools_init(unsigned long mem_hwmark, unsigned long mem_lwmark) sgv_shrinker = set_shrinker(DEFAULT_SEEKS, sgv_shrink); #else #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 0) - sgv_shrinker.count_objects = sgv_can_be_shrinked; + sgv_shrinker.count_objects = sgv_can_be_shrunk; sgv_shrinker.scan_objects = sgv_scan_shrink; #else sgv_shrinker.shrink = sgv_shrink;