From 9331e101a4cd0a3faff25cf7dd603762296c7345 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Thu, 24 Dec 2009 05:11:40 +0000 Subject: protocol/client: Fail revalidate with ESTALE. Signed-off-by: Vikas Gorur Signed-off-by: Anand V. Avati BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315 --- xlators/protocol/client/src/client-protocol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c index 9deb691e8..27c4d2dd8 100644 --- a/xlators/protocol/client/src/client-protocol.c +++ b/xlators/protocol/client/src/client-protocol.c @@ -4906,6 +4906,7 @@ client_lookup_cbk (call_frame_t *frame, gf_hdr_common_t *hdr, size_t hdrlen, local->loc.name, local->loc.path, oldgen, oldino, stbuf.st_dev, stbuf.st_ino); + op_errno = ESTALE; goto fail; } -- cgit