diff options
author | Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> | 2009-10-07 15:21:09 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-10-07 17:27:24 +0200 |
commit | a02ed56a4a07acc311853d5ae2db21b27aa3de1a (patch) | |
tree | d5ff91106e944b6835e44894c5adc30bfe873632 /mm | |
parent | 095564a3fbc4e477775b3d4015dd733c4fe008a5 (diff) |
trivial: fix typos "aquire" -> "acquire", "cumsumed" -> "consumed"
This patch was generated by
git grep -E -i -l '[Aa]quire' | xargs -r perl -p -i -e 's/([Aa])quire/$1cquire/'
and the cumsumed was found by checking the diff for aquire.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/kmemleak.c | 4 | ||||
-rw-r--r-- | mm/memcontrol.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c index 4ea4510e2996..01628fc58024 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c @@ -1047,8 +1047,8 @@ static void scan_object(struct kmemleak_object *object) unsigned long flags; /* - * Once the object->lock is aquired, the corresponding memory block - * cannot be freed (the same lock is aquired in delete_object). + * Once the object->lock is acquired, the corresponding memory block + * cannot be freed (the same lock is acquired in delete_object). */ spin_lock_irqsave(&object->lock, flags); if (object->flags & OBJECT_NO_SCAN) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index e2b98a6875c0..5e07c6ae25aa 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1731,7 +1731,7 @@ int mem_cgroup_cache_charge(struct page *page, struct mm_struct *mm, /* * While swap-in, try_charge -> commit or cancel, the page is locked. * And when try_charge() successfully returns, one refcnt to memcg without - * struct page_cgroup is aquired. This refcnt will be cumsumed by + * struct page_cgroup is acquired. This refcnt will be consumed by * "commit()" or removed by "cancel()" */ int mem_cgroup_try_charge_swapin(struct mm_struct *mm, |