diff options
author | Nick Piggin <npiggen@suse.de> | 2010-04-20 23:18:28 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-04-20 23:18:28 -0400 |
commit | 315e995c63a15cb4d4efdbfd70fe2db191917f7a (patch) | |
tree | f04c83f9bfe315cee9d8993d4244fd7ef7aab796 /fs/cifs/link.c | |
parent | 05ce7bfe547c9fa967d9cab6c37867a9cb6fb3fa (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/link.c')
0 files changed, 0 insertions, 0 deletions