]> git.baikalelectronics.ru Git - kernel.git/commit
mm: cleanup descriptions of filler arg
authorHugh Dickins <hughd@google.com>
Tue, 26 Jul 2011 00:12:23 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:10 +0000 (20:57 -0700)
commit3a8a479b39ce0da4d6a9e70a1b03a7271b197699
tree8a0668541c8b356b46c32eea7f28a2f72259eef6
parent11122fe999abe766f83bcc405a43d662ec88b541
mm: cleanup descriptions of filler arg

The often-NULL data arg to read_cache_page() and read_mapping_page()
functions is misdescribed as "destination for read data": no, it's the
first arg to the filler function, often struct file * to ->readpage().

Satisfy checkpatch.pl on those filler prototypes, and tidy up the
declarations in linux/pagemap.h.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/pagemap.h
mm/filemap.c