summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorHugh Dickins2011-07-26 02:12:33 +0200
committerLinus Torvalds2011-07-26 05:57:11 +0200
commit71f0e07a605fad1fb6b288e4dc1dd8dfa78f4872 (patch)
tree1eac7c25f32ac88bba52a31179989e62773aa079 /net/nfc
parenttmpfs: clone shmem_file_splice_read() (diff)
downloadkernel-qcow2-linux-71f0e07a605fad1fb6b288e4dc1dd8dfa78f4872.tar.gz
kernel-qcow2-linux-71f0e07a605fad1fb6b288e4dc1dd8dfa78f4872.tar.xz
kernel-qcow2-linux-71f0e07a605fad1fb6b288e4dc1dd8dfa78f4872.zip
tmpfs: refine shmem_file_splice_read
Tidy up shmem_file_splice_read(): Remove readahead: okay, we could implement shmem readahead on swap, but have never done so before, swap being the slow exceptional path. Use shmem_getpage() instead of find_or_create_page() plus ->readpage(). Remove several comments: sorry, I found them more distracting than helpful, and this will not be the reference version of splice_read(). 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>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions