libceph: Unlock unprocessed pages in start_read() error path
authorDavid Zafman <david.zafman@inktank.com>
Tue, 4 Dec 2012 03:14:05 +0000 (19:14 -0800)
committerAlex Elder <elder@inktank.com>
Thu, 13 Dec 2012 14:13:09 +0000 (08:13 -0600)
Function start_read() can get an error before processing all pages.
It must not only release the remaining pages, but unlock them too.

This fixes http://tracker.newdream.net/issues/3370

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>

No differences found