summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/dir.h
diff options
context:
space:
mode:
authorMinchan Kim <minchan.kim@gmail.com>2010-05-24 14:33:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 08:07:03 -0700
commit4c99000ac47cbd097e62f1b5cafad745622cedc3 (patch)
tree9912597a68403c8f02dfbb414e60e0cb3f6577d3 /fs/ntfs/dir.h
parent2ec93b0bf35fe0fad05d2b7ef139d018768cca38 (diff)
downloadlinux-4c99000ac47cbd097e62f1b5cafad745622cedc3.tar.gz
linux-4c99000ac47cbd097e62f1b5cafad745622cedc3.tar.bz2
linux-4c99000ac47cbd097e62f1b5cafad745622cedc3.zip
ntfs: use add_to_page_cache_lru()
Quote from Nick piggin's about btrfs patch - http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg04472.html. "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." Let's use it instead of private pagevec in ntfs, too. Signed-off-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Anton Altaparmakov <aia21@cantab.net> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ntfs/dir.h')
0 files changed, 0 insertions, 0 deletions