diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2007-02-28 23:12:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 17:53:38 -0500 |
commit | 1ed6d896de3a57bdfb38cffaa748612f112c2a75 (patch) | |
tree | 4eae9102354f5b17e519a0776dee6043f602eabf /fs | |
parent | a8d547d5cf3df447d1527f2e66ba578e88011999 (diff) |
[PATCH] eCryptfs: remove unnecessary flush_dcache_page()
Remove unnecessary flush_dcache_page() call. Thanks to Dmitriy
Monakhov for pointing this out.
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Dmitriy Monakhov <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ecryptfs/mmap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ecryptfs/mmap.c b/fs/ecryptfs/mmap.c index 82bdbed658d7..7be8e91b5ba0 100644 --- a/fs/ecryptfs/mmap.c +++ b/fs/ecryptfs/mmap.c | |||
@@ -238,7 +238,6 @@ int ecryptfs_do_readpage(struct file *file, struct page *page, | |||
238 | lower_page_data = kmap_atomic(lower_page, KM_USER1); | 238 | lower_page_data = kmap_atomic(lower_page, KM_USER1); |
239 | memcpy(page_data, lower_page_data, PAGE_CACHE_SIZE); | 239 | memcpy(page_data, lower_page_data, PAGE_CACHE_SIZE); |
240 | kunmap_atomic(lower_page_data, KM_USER1); | 240 | kunmap_atomic(lower_page_data, KM_USER1); |
241 | flush_dcache_page(lower_page); | ||
242 | kunmap_atomic(page_data, KM_USER0); | 241 | kunmap_atomic(page_data, KM_USER0); |
243 | flush_dcache_page(page); | 242 | flush_dcache_page(page); |
244 | rc = 0; | 243 | rc = 0; |