diff options
author | Alex Elder <elder@inktank.com> | 2013-03-02 01:00:15 +0100 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 06:16:16 +0200 |
commit | ec02a2f2ffae13e038453ae89592a8c6210f7f4d (patch) | |
tree | 9c9d59d61ec2b5516ccfd7da02caf5372bf72e8c /fs/ceph/mds_client.c | |
parent | libceph: use (void *) for untyped data in osd ops (diff) | |
download | linux-ec02a2f2ffae13e038453ae89592a8c6210f7f4d.tar.xz linux-ec02a2f2ffae13e038453ae89592a8c6210f7f4d.zip |
libceph: kill ceph_msg->pagelist_count
The pagelist_count field is never actually used, so get rid of it.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r-- | fs/ceph/mds_client.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index 9811caae7be4..4efbc63e0bb6 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -2604,7 +2604,6 @@ static void send_mds_reconnect(struct ceph_mds_client *mdsc, } reply->pagelist = pagelist; - reply->pagelist_count = calc_pages_for(0, pagelist->length); if (recon_state.flock) reply->hdr.version = cpu_to_le16(2); reply->hdr.data_len = cpu_to_le32(pagelist->length); |