summaryrefslogtreecommitdiff
path: root/fs/cifs/readdir.c
diff options
context:
space:
mode:
authorNick Piggin <npiggen@suse.de>2010-04-21 03:18:28 +0000
committerSteve French <sfrench@us.ibm.com>2010-04-21 03:18:28 +0000
commit315e995c63a15cb4d4efdbfd70fe2db191917f7a (patch)
treef04c83f9bfe315cee9d8993d4244fd7ef7aab796 /fs/cifs/readdir.c
parent05ce7bfe547c9fa967d9cab6c37867a9cb6fb3fa (diff)
[CIFS] use add_to_page_cache_lru
add_to_page_cache_lru is exported, so it should be used. Benefits over using a private pagevec: neater code, 128 bytes fewer stack used, percpu lru ordering is preserved, and finally don't need to flush pagevec before returning so batching may be shared with other LRU insertions. Signed-off-by: Nick Piggin <npiggin@suse.de> Reviewed-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/readdir.c')
0 files changed, 0 insertions, 0 deletions