]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
rbd: kill op_needs_trail()
authorAlex Elder <elder@inktank.com>
Wed, 14 Nov 2012 03:11:15 +0000 (21:11 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 19 Nov 2012 23:37:50 +0000 (17:37 -0600)
commit132ec359ace69f38032bfbaed6e31e115c39a946
treeac0989766f4bf1f1e7be8235908637ec41ae58f0
parent5cf2fdad4d7f2353702bfc517da59c14b43812d9
rbd: kill op_needs_trail()

Since every osd message is now prepared to include trailing data,
there's no need to check ahead of time whether any operations will
make use of the trail portion of the message.

We can drop the second argument ot get_num_ops(), and as a result we
can also get rid of op_needs_trail() which is no longer used.

Signed-off-by: Alex Elder <elder@inktank.com>
net/ceph/osd_client.c