diff options
author | Alex Elder <elder@inktank.com> | 2013-02-15 21:42:29 +0400 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-02-18 22:19:39 +0400 |
commit | a3bea47e8bdd51d921e5b2045720d60140612c7c (patch) | |
tree | b628ec427b829445dfb243cc93e78249fc36efb5 /include/linux/ceph | |
parent | 2480882611e3ab844563dd3d0a822227604ab8fe (diff) | |
download | linux-a3bea47e8bdd51d921e5b2045720d60140612c7c.tar.xz |
ceph: kill ceph_osdc_new_request() "num_reply" parameter
The "num_reply" parameter to ceph_osdc_new_request() is never
used inside that function, so get rid of it.
Note that ceph_sync_write() passes 2 for that argument, while all
other callers pass 1. It doesn't matter, but perhaps someone should
verify this doesn't indicate a problem.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/osd_client.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index 6540e8861998..5812802bd8ae 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h @@ -234,8 +234,7 @@ extern struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *, int do_sync, u32 truncate_seq, u64 truncate_size, struct timespec *mtime, - bool use_mempool, int num_reply, - int page_align); + bool use_mempool, int page_align); extern void ceph_osdc_set_request_linger(struct ceph_osd_client *osdc, struct ceph_osd_request *req); |