projects/linux·commit 03cd3739

Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6

03cd3739 · Linus Torvalds <[email protected]> · 2010-06-03 07:20:28 -07:00

* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
  cifs: fix page refcount leak
Commit
03cd3739818d3fa7f973d0fb6d3aa63122ea00a0
Parents
1067b6c2 · 06b43672

Merge commit. Changes below are compared with the first parent: 1067b6c2.

Changes

1 files changed · +1 −0

FileStatusAddDelContent
fs/cifs/file.cmodified+1−0View file

fs/cifs/file.c

View file
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);