]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/BlockGuard: explicit BlockGuard is right exclusive 33681/head
authorChangcheng Liu <changcheng.liu@aliyun.com>
Tue, 3 Mar 2020 05:54:53 +0000 (13:54 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Tue, 3 Mar 2020 05:54:53 +0000 (13:54 +0800)
commitbc8f37a5b580758dc7fe46e1e385da114f732d23
tree65fe766adefba079197ab7309aa25e8c19068442
parenta369e6cce296d5a1b2e5c8a8092f7d4d55a0eabe
librbd/BlockGuard: explicit BlockGuard is right exclusive

It's better to explicitly specify that BlockGuard is right
exclusive to avoid "+1/-1" adjust for the user.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/librbd/BlockGuard.h