aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/recovery.c
diff options
context:
space:
mode:
authorJeff Layton2010-06-01 10:54:45 -0400
committerSteve French2010-06-01 17:15:52 +0000
commit06b43672a9e665cab18dc7b77d56d36884b90d45 (patch)
tree79cc0493370222c074709a0c742ee4209a63e582 /fs/jbd/recovery.c
parent67a3e12b05e055c0415c556a315a3d3eb637e29e (diff)
cifs: fix page refcount leak
Commit 315e995c63a15cb4d4efdbfd70fe2db191917f7a is causing OOM kills when stress-testing a CIFS filesystem. The VFS readpages operation takes a page reference. The older code just handed this reference off to the page cache, but the new code takes an extra one. The simplest fix is to put the new reference after add_to_page_cache_lru. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/jbd/recovery.c')
0 files changed, 0 insertions, 0 deletions