summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-12-24 05:11:40 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-28 03:08:47 -0800
commit9331e101a4cd0a3faff25cf7dd603762296c7345 (patch)
tree9ca593c9164fe2ae2b6a5bb3aab1603af3984b35
parent6917011ee224fc41f6ca46a674d9c2df4e72913a (diff)
protocol/client: Fail revalidate with ESTALE.
Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
-rw-r--r--xlators/protocol/client/src/client-protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c
index 9deb691e8be..27c4d2dd83f 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;
}