[PATCH] mpage_writepages() page locking fix
authorNikita Danilov <nikita@clusterfs.com>
Sun, 1 May 2005 15:58:39 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:58:39 +0000 (08:58 -0700)
commit552fca4cbe552520d85b21e839f289c880fa48d2
tree8a91530f62a2118e390db209779c184983684e66
parent97e2bde47f886a317909c8a8f9bd2fcd8ce2f0b0
[PATCH] mpage_writepages() page locking fix

When ->writepage() returns WRITEPAGE_ACTIVATE, the page is still locked.
Explicitly unlock the page in mpage_writepages().

Signed-off-by: Nikita Danilov <nikita@clusterfs.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/mpage.c