]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include: ceph_stable_mod in public domain 37567/head
authorSage Weil <sage@newdream.net>
Tue, 6 Oct 2020 13:30:08 +0000 (08:30 -0500)
committerSage Weil <sage@newdream.net>
Tue, 6 Oct 2020 13:30:08 +0000 (08:30 -0500)
Signed-off-by: Sage Weil <sage@newdream.net>
COPYING
src/include/rados.h

diff --git a/COPYING b/COPYING
index 253bae48ea87a50359ab09d290515afa42658ea0..857d098a14724d62517ebac4db43b7910ffc4506 100644 (file)
--- 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 <arash@partow.net>
 License: Boost Software License, Version 1.0
index 1787173780162a5d22b8a74390333cb65c176ef9..1484657717279f295fa8c79af13b64392b078cb2 100644 (file)
@@ -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)
 {