From 4b1464ca673580ba4bc53702f1c23a57f616117e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 8 Apr 2015 09:44:07 +1000 Subject: [PATCH] page_writeback-cleanup-mess-around-cancel_dirty_page-checkpatch-fixes WARNING: 'loosing' may be misspelled - perhaps 'losing'? #145: FILE: mm/filemap.c:207: + * Dirty page here signals about bug and loosing unwitten data. total: 0 errors, 1 warnings, 155 lines checked ./patches/page_writeback-cleanup-mess-around-cancel_dirty_page.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Jan Kara Cc: Konstantin Khlebnikov Cc: Tejun Heo Signed-off-by: Andrew Morton --- mm/filemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/filemap.c b/mm/filemap.c index 455992e1694c63..434dba317400f8 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -204,7 +204,7 @@ void __delete_from_page_cache(struct page *page, void *shadow) /* * At this point page must be either written or cleaned by truncate. - * Dirty page here signals about bug and loosing unwitten data. + * Dirty page here signals a bug and loss of unwritten data. * * This fixes dirty accounting after removing the page entirely but * leaves PageDirty set: it has no effect for truncated page and