]> 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)
commit175d22d85eb09360c211890b2aaae99a56bddd5d
tree8a0668541c8b356b46c32eea7f28a2f72259eef6
parenta390de0e34458ce935e91a0e9c7ea271a2d8e62d
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