diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-16 22:40:47 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-16 22:40:47 -0800 |
| commit | d6c561cedcbd025198ce21731ccc1eae70e10a3d (patch) | |
| tree | ebf8d157d68a6f81b57946e634d367dc6d24e6c0 | |
| parent | 4e742d9cf2136597838df5d3ce7e29c724d71bab (diff) | |
[PATCH] cifs: kunmap_atomic() takes a kernel address
kunmap_atomic() takes a kernel-virtual address, not a pageframe address.
(Very common problem. We really should make the atomic kmap functions
type-safe).
| -rw-r--r-- | fs/cifs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 6df4f62ac920..d991eef801ac 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -925,7 +925,7 @@ static void cifs_copy_cache_pages(struct address_space *mapping, __pagevec_lru_add(plru_pvec); flush_dcache_page(page); SetPageUptodate(page); - kunmap_atomic(page,KM_USER0); + kunmap_atomic(target,KM_USER0); unlock_page(page); page_cache_release(page); data += PAGE_CACHE_SIZE; |
