summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/common-utils.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-02-22 10:59:40 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-22 08:51:44 -0800
commitaf2f208ff4f40e44069ede605a5e21148de053de (patch)
treec4d97c1bbb76e7bb88550a39918bdec8b36260e3 /libglusterfs/src/common-utils.h
parenta6f0dca7cd348b2a428b2583ebcfc80425213d5c (diff)
common-utils: gf_log2 handles 0 input
Signed-off-by: Anand V. Avati <avati@amp.gluster.com> Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 583 (filesystem access hangs while deleting large files) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=583
Diffstat (limited to 'libglusterfs/src/common-utils.h')
-rw-r--r--libglusterfs/src/common-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index 05acfd83d29..9c1c93ebffb 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -332,7 +332,7 @@ int gf_lockfd (int fd);
int gf_unlockfd (int fd);
int get_checksum_for_file (int fd, uint32_t *checksum);
-int gf_log2 (unsigned long x);
+int log_base2 (unsigned long x);
#endif /* _COMMON_UTILS_H */