mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
libceph: fix double-free of page vector
ceph_release_page_vector() kfrees the vector; we shouldn't do it here too. Reported-by: Jeff Wu <[email protected]> Signed-off-by: Sage Weil <[email protected]>
This commit is contained in:
parent
3310f7541f
commit
3395734067
1 changed files with 0 additions and 1 deletions
|
|
@ -345,7 +345,6 @@ static int start_read(struct inode *inode, struct list_head *page_list, int max)
|
|||
|
||||
out_pages:
|
||||
ceph_release_page_vector(pages, nr_pages);
|
||||
kfree(pages);
|
||||
out:
|
||||
ceph_osdc_put_request(req);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue