]> git.karo-electronics.de Git - karo-tx-linux.git/commit
The often-NULL data arg to read_cache_page() and read_mapping_page()
authorHugh Dickins <hughd@google.com>
Sat, 16 Jul 2011 13:30:40 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:09 +0000 (15:04 +1000)
commit1c3fe1d2fe6b3b689e57bee174c98673d16bc622
tree5ef84a7d5ea838db20cbe17f41d2a034395f036b
parent454c20c3f80f465da3ef0c11a73ec00591686cf6
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>
include/linux/pagemap.h
mm/filemap.c