From: Sage Weil Date: Tue, 6 Oct 2020 13:30:08 +0000 (-0500) Subject: include: ceph_stable_mod in public domain X-Git-Tag: v16.1.0~907^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fa5d9f8846e63cfdfbb9767bd60966451375fb73;p=ceph.git include: ceph_stable_mod in public domain Signed-off-by: Sage Weil --- diff --git a/COPYING b/COPYING index 253bae48ea87..857d098a1472 100644 --- a/COPYING +++ b/COPYING @@ -32,6 +32,10 @@ Files: src/include/ceph_hash.cc Copyright: None License: Public domain +Files: src/include/rados.h, except ceph_stable_mod(), which is public domain +Copyright: the authors +License: LGPL-2.1 or LGPL-3 (see COPYING-LGPL2.1 and COPYING-LGPL3) + Files: src/common/bloom_filter.hpp Copyright: Copyright (C) 2000 Arash Partow License: Boost Software License, Version 1.0 diff --git a/src/include/rados.h b/src/include/rados.h index 178717378016..148465771727 100644 --- a/src/include/rados.h +++ b/src/include/rados.h @@ -90,6 +90,8 @@ struct ceph_pg { * * b <= bmask and bmask=(2**n)-1 * e.g., b=12 -> bmask=15, b=123 -> bmask=127 + * + * ** This function is released to the public domain by the author. ** */ static inline int ceph_stable_mod(int x, int b, int bmask) {