summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-06-03 07:20:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-06-03 07:20:28 -0700
commit03cd3739818d3fa7f973d0fb6d3aa63122ea00a0 (patch)
tree875b9424f4f43393f9a15e00cd553dc02bbacb10 /fs
parent1067b6c2bea7fd2cc9da290d865ab3f3b91c8130 (diff)
parent06b43672a9e665cab18dc7b77d56d36884b90d45 (diff)
downloadop-kernel-dev-03cd3739818d3fa7f973d0fb6d3aa63122ea00a0.zip
op-kernel-dev-03cd3739818d3fa7f973d0fb6d3aa63122ea00a0.tar.gz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: cifs: fix page refcount leak
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index f1ff785..75541af 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1952,6 +1952,7 @@ static void cifs_copy_cache_pages(struct address_space *mapping,
bytes_read -= PAGE_CACHE_SIZE;
continue;
}
+ page_cache_release(page);
target = kmap_atomic(page, KM_USER0);
OpenPOWER on IntegriCloud