]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: drop msgr argument from prepare_write_connect()
authorAlex Elder <elder@inktank.com>
Wed, 16 May 2012 20:16:38 +0000 (15:16 -0500)
committerAlex Elder <elder@dreamhost.com>
Thu, 17 May 2012 13:18:12 +0000 (08:18 -0500)
commit179a95d91a4ffaae8d64a93e7070fb6db52b37bc
tree4c9ed5c548818b407d7705f6bf02000ac3821132
parent95916561e172d7e6cb3e7cff10962733ae5150a8
ceph: drop msgr argument from prepare_write_connect()

In all cases, the value passed as the msgr argument to
prepare_write_connect() is just con->msgr.  Just get the msgr
value from the ceph connection and drop the unneeded argument.

The only msgr passed to prepare_write_banner() is also therefore
just the one from con->msgr, so change that function to drop the
msgr argument as well.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c