diff options
author | Alex Elder <elder@inktank.com> | 2013-03-13 20:50:01 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:17:47 -0700 |
commit | a19dadfba91c73a12a666e6fdb9e242f325df825 (patch) | |
tree | 6c2c2e88254089740b8f05866b430cda5ce10fa0 /kernel/profile.c | |
parent | 75d1c941e57d4247de4c0ed4064a65cf1a4d3ed8 (diff) |
libceph: don't update op in calc_layout()
The ceph_osdc_new_request() an array of osd operations is built up
and filled in partially within that function and partially in the
called function calc_layout(). Move the latter part back out to
ceph_osdc_new_request() so it's all done in one place. This makes
it unnecessary to pass the op pointer to calc_layout(), so get rid
of that parameter.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions