diff options
author | Kotresh H R <khiremat@redhat.com> | 2014-02-25 16:20:46 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-03-02 21:05:29 -0800 |
commit | 753185d56492b4f9044df186ce664f206388ef46 (patch) | |
tree | 6078e4e2ca8e5f5f13b2488a53351845c273ed2a /rpc/rpc-lib/src/auth-glusterfs.c | |
parent | 482434d3832dbff47df47be08c33c048a98d2fb7 (diff) |
geo-rep/gfid-access: Fix errno for non-existent GFID.
Because of http://review.gluster.org/#/c/6318/ patch,
ESTALE is returned for a lookukp on non-existent GFID.
But ENOENT is more appropriate when lookup happens
through virtual .gfid directory on aux-gfid-mount
point. This is avoids confusion for the consumers
of gfid-access-translator like geo-rep which expects
ENOENT.
Change-Id: I4add2edf5958bb59ce55d02726e6b3e801b101bb
BUG: 1069191
Signed-off-by: Kotresh H R <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/7154
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/7163
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/auth-glusterfs.c')
0 files changed, 0 insertions, 0 deletions