diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2012-02-22 15:07:03 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-22 02:54:53 -0800 |
commit | f3b2305009b98de42c84e5b86668cf8b5f41e01f (patch) | |
tree | dbe6f0851ae4bd8ec7babd7f43e46f66fd57348f /xlators/cluster/afr/src/pump.c | |
parent | 2d470cd910b49976befea664ae5cc7ea6aa10020 (diff) |
pump: Fixed undefined reference to fill_loc_info fn.
Changed function to pump_fill_loc_info since its use is relevant
only in pump's context.
Change-Id: I5be1a908f88328f732dacfd7eac18f0c62f49eb8
BUG: 796066
Signed-off-by: Krishnan Parthasarathi <kp@gluster.com>
Reviewed-on: http://review.gluster.com/2796
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/pump.c')
-rw-r--r-- | xlators/cluster/afr/src/pump.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/pump.c b/xlators/cluster/afr/src/pump.c index 18aee82cc..cec8066e2 100644 --- a/xlators/cluster/afr/src/pump.c +++ b/xlators/cluster/afr/src/pump.c @@ -32,6 +32,13 @@ #include "glusterfs.h" static uint64_t pump_pid = 0; +static inline void +pump_fill_loc_info (loc_t *loc, struct iatt *iatt, struct iatt *parent) +{ + afr_update_loc_gfids (loc, iatt, parent); + uuid_copy (loc->inode->gfid, iatt->ia_gfid); +} + static int pump_mark_start_pending (xlator_t *this) { @@ -407,7 +414,7 @@ gf_pump_traverse_directory (loc_t *loc) entry_loc.path); continue; } - afr_fill_loc_info (&entry_loc, &iatt, + pump_fill_loc_info (&entry_loc, &iatt, &parent); pump_update_resume_state (this, entry_loc.path); |