Skip to content

Commit

Permalink
slub: Fix incorrect use of loose
Browse files Browse the repository at this point in the history
It should be 'lose', not 'loose'.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
  • Loading branch information
Nick Andrew authored and Pekka Enberg committed Dec 8, 2008
1 parent 0094de9 commit 9f6c708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ static int check_object(struct kmem_cache *s, struct page *page,
if (!check_valid_pointer(s, page, get_freepointer(s, p))) {
object_err(s, page, p, "Freepointer corrupt");
/*
* No choice but to zap it and thus loose the remainder
* No choice but to zap it and thus lose the remainder
* of the free objects in this slab. May cause
* another error because the object count is now wrong.
*/
Expand Down Expand Up @@ -4344,7 +4344,7 @@ static void sysfs_slab_remove(struct kmem_cache *s)

/*
* Need to buffer aliases during bootup until sysfs becomes
* available lest we loose that information.
* available lest we lose that information.
*/
struct saved_alias {
struct kmem_cache *s;
Expand Down

0 comments on commit 9f6c708

Please sign in to comment.