]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: make pgid_cmp() global
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Apr 2016 14:07:23 +0000 (16:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:25 +0000 (00:36 +0200)
commit725d79e193620c0b5d22a69da06a5bb7b2f6d213
treee9f60522c2a91fddceaca57bd8c45e6e67f7db9e
parent1661a4747e1f3e8e1e1786d9c01b4e49681bd44a
libceph: make pgid_cmp() global

calc_target() code is going to need to know how to compare PGs.  Take
lhs and rhs pgid by const * while at it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osdmap.h
net/ceph/osdmap.c