OSDN Git Service

afs: Fix missing put_page()
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:43 +0000 (16:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:04:55 +0000 (10:04 +0100)
commit1c277e9ebba6ee648b70e4dc4794e67c3d2d80cd
treeec0cf6fd8059b53fc74949a2f9ff73a66e0eddf7
parentfec8348008b5b7ab934b1553e34dfff37a03ade2
afs: Fix missing put_page()

[ Upstream commit 29c8bbbd6e21daa0997d1c3ee886b897ee7ad652 ]

In afs_writepages_region(), inside the loop where we find dirty pages to
deal with, one of the if-statements is missing a put_page().

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/afs/write.c