ceph: call __fscache_uncache_page() if readpages fails
authorYan, Zheng <zyan@redhat.com>
Tue, 17 May 2016 03:58:02 +0000 (11:58 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 1 Jun 2016 08:30:12 +0000 (10:30 +0200)
commit368e35857dfab264f512d040c4486c9b13297988
tree25c0caf527c360b6f70a1c01f4e5f25da84c3501
parent480ce08a70e4179f34808a3bdbfe6627f624cf54
ceph: call __fscache_uncache_page() if readpages fails

If readpages fails, fscache needs to cleanup its internal state.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c