diff options
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/server/src/server-resolve.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c index 6989bd91524..586790479d4 100644 --- a/xlators/protocol/server/src/server-resolve.c +++ b/xlators/protocol/server/src/server-resolve.c @@ -351,7 +351,8 @@ server_resolve_entry (call_frame_t *frame) return 0; } - resolve_loc_touchup (frame); + if (ret == 0) + resolve_loc_touchup (frame); server_resolve_all (frame); @@ -426,7 +427,8 @@ server_resolve_inode (call_frame_t *frame) return 0; } - resolve_loc_touchup (frame); + if (ret == 0) + resolve_loc_touchup (frame); server_resolve_all (frame); |