libceph: 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>
Thu, 17 Jan 2013 21:52:03 +0000 (15:52 -0600)
commit5b9d1b1cd46aa6c8abf891f25c15aee31538da7e
treedf335170a4bb4362ebc3176ff0ad6e5e4dfe2e87
parentc885837f7d4f8c4f5cb2a744cc6929bc078e9dc0
libceph: 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 to 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>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/osd_client.c