Skip to content

Commit

Permalink
page_writeback-cleanup-mess-around-cancel_dirty_page-checkpatch-fixes
Browse files Browse the repository at this point in the history
WARNING: 'loosing' may be misspelled - perhaps 'losing'?
torvalds#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 <jack@suse.cz>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and sfrothwell committed Apr 7, 2015
1 parent 0c27140 commit 4b1464c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b1464c

Please sign in to comment.