diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/common-utils.h | 2 | ||||
-rw-r--r-- | libglusterfs/src/statedump.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index 80111a26d..b11e3043f 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -136,6 +136,8 @@ extern char *gf_mgmt_list[GF_MGMT_MAXVALUE]; #define GF_FILE_CONTENT_REQUESTED(_xattr_req,_content_limit) \ (dict_get_uint64 (_xattr_req, "glusterfs.content", _content_limit) == 0) +#define GF_ASSERT(x) assert (x); + static inline void iov_free (struct iovec *vector, int count) { diff --git a/libglusterfs/src/statedump.h b/libglusterfs/src/statedump.h index 1261ebbef..746215a1f 100644 --- a/libglusterfs/src/statedump.h +++ b/libglusterfs/src/statedump.h @@ -73,4 +73,7 @@ fdtable_dump(fdtable_t *fdtable, char *prefix); void inode_dump(inode_t *inode, char *prefix); + +void +glusterd_init (int sig); #endif /* STATEDUMP_H */ |