rbd: drop "object_name" from rbd_req_sync_watch()
authorAlex Elder <elder@inktank.com>
Wed, 25 Jul 2012 14:32:40 +0000 (09:32 -0500)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:52 +0000 (18:15 -0700)
commit0e6f322d550a104b2065288c9f6426d5c0414b76
treee941cdba172c02286b1528f530cbeb8b984347d1
parent14e7085d8460bf45e7145524a13802f1f4f9d81f
rbd: drop "object_name" from rbd_req_sync_watch()

rbd_req_sync_watch() is only called in one place, and in that place
it passes rbd_dev->header_name as the value of the "object_name"
parameter.  This value is available within the function already.

Having the extra parameter leaves the impression the object name
could take on different values, but it does not.

So get rid of the parameter.  We can always add it back again if
we find we want to watch some other object in the future.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c