From ea4cd6ff18bb811b053b8fc6bcef7d6377dac30b Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 24 Oct 2011 08:27:40 +0530 Subject: pump: Change crawl to accommodate afr_lookup changes Change-Id: I600120252445c06d9cc3e7aa24022c2559b6abe2 BUG: 3747 Reviewed-on: http://review.gluster.com/638 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/cluster/afr/src/afr-self-heald.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xlators/cluster/afr/src/afr-self-heald.h') diff --git a/xlators/cluster/afr/src/afr-self-heald.h b/xlators/cluster/afr/src/afr-self-heald.h index 5d7892fa7..d5f9552c1 100644 --- a/xlators/cluster/afr/src/afr-self-heald.h +++ b/xlators/cluster/afr/src/afr-self-heald.h @@ -37,4 +37,13 @@ void afr_build_root_loc (inode_t *inode, loc_t *loc); int afr_set_root_gfid (dict_t *dict); +inline void +afr_generate_gfid_on_empty (uuid_t gfid); + +inline void +afr_empty_gfid_on_set (uuid_t gfid, int lookup_status, struct iatt *iatt); + +inline void +afr_fill_loc_info (loc_t *loc, struct iatt *iatt, struct iatt *parent); + #endif /* __AFR_SELF_HEALD_H__ */ -- cgit