]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Unlock pages for __pagevec_release()
authorMarc Dionne <marc.dionne@auristor.com>
Sat, 13 Apr 2019 07:37:37 +0000 (08:37 +0100)
committerDavid Howells <dhowells@redhat.com>
Sat, 13 Apr 2019 07:37:37 +0000 (08:37 +0100)
commit8912f1d26903ef3076ad1b55b55e515f4eb85129
tree0e01dfa194703f30014341624b93bb434cf0f0f1
parent54d131e4c8413f5166860558e62bc8fc9a359445
afs: Unlock pages for __pagevec_release()

__pagevec_release() complains loudly if any page in the vector is still
locked.  The pages need to be locked for generic_error_remove_page(), but
that function doesn't actually unlock them.

Unlock the pages afterwards.

Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Jonathan Billings <jsbillin@umich.edu>
fs/afs/write.c