diff options
author | Sage Weil <sage@newdream.net> | 2011-10-24 18:05:47 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-26 01:10:17 +0200 |
commit | 339573406737461cfb17bebabf7ba536a302d841 (patch) | |
tree | 9879390219993f759338b8bbfbf92a4ebb836cd8 /fs | |
parent | ceph: fix 32-bit ino numbers (diff) | |
download | linux-339573406737461cfb17bebabf7ba536a302d841.tar.xz linux-339573406737461cfb17bebabf7ba536a302d841.zip |
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 <cpwu@tnsoft.com.cn>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ceph/addr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index 5ffee90d9fb5..4144caf2f9d3 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c @@ -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; |