diff options
author | Justin P. Mattock <justinmattock@gmail.com> | 2011-03-01 09:06:02 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-03-01 09:47:58 -0500 |
commit | ae0e47f02aaedbfdd5e4bec73f79b714d758223d (patch) | |
tree | 348f99385f42a2f698bddb4ced3e6c472e5d68cc /mm | |
parent | ddf12286951aee1e7763112cf26629de3fabe6ae (diff) |
Remove one to many n's in a word
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mempolicy.c | 2 | ||||
-rw-r--r-- | mm/shmem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 368fc9d23610..a5d79958492c 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -993,7 +993,7 @@ int do_migrate_pages(struct mm_struct *mm, | |||
993 | * most recent <s, d> pair that moved (s != d). If we find a pair | 993 | * most recent <s, d> pair that moved (s != d). If we find a pair |
994 | * that not only moved, but what's better, moved to an empty slot | 994 | * that not only moved, but what's better, moved to an empty slot |
995 | * (d is not set in tmp), then we break out then, with that pair. | 995 | * (d is not set in tmp), then we break out then, with that pair. |
996 | * Otherwise when we finish scannng from_tmp, we at least have the | 996 | * Otherwise when we finish scanning from_tmp, we at least have the |
997 | * most recent <s, d> pair that moved. If we get all the way through | 997 | * most recent <s, d> pair that moved. If we get all the way through |
998 | * the scan of tmp without finding any node that moved, much less | 998 | * the scan of tmp without finding any node that moved, much less |
999 | * moved to an empty node, then there is nothing left worth migrating. | 999 | * moved to an empty node, then there is nothing left worth migrating. |
diff --git a/mm/shmem.c b/mm/shmem.c index 5ee67c990602..3cdb243256f4 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -779,7 +779,7 @@ static int shmem_notify_change(struct dentry *dentry, struct iattr *attr) | |||
779 | * If truncating down to a partial page, then | 779 | * If truncating down to a partial page, then |
780 | * if that page is already allocated, hold it | 780 | * if that page is already allocated, hold it |
781 | * in memory until the truncation is over, so | 781 | * in memory until the truncation is over, so |
782 | * truncate_partial_page cannnot miss it were | 782 | * truncate_partial_page cannot miss it were |
783 | * it assigned to swap. | 783 | * it assigned to swap. |
784 | */ | 784 | */ |
785 | if (newsize & (PAGE_CACHE_SIZE-1)) { | 785 | if (newsize & (PAGE_CACHE_SIZE-1)) { |