summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-parser.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-03-19 07:52:48 +0530
committerAnand Avati <avati@redhat.com>2014-04-29 14:16:30 -0700
commit91ab65f812ec3b674f53230eacbd0d71964d3d01 (patch)
treec27d9c03a230d99d0bdac3d1310cc653e9e6b37f /cli/src/cli-cmd-parser.c
parentb00ef83d2b15594526b1c58ef944a7edaa7e9dfe (diff)
storage/posix: add list xattr capability to lookup
BUG: 1078061 Change-Id: Ie26d28b8a74aa0d1eceff14a84c3cd3e302dcdb5 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/7293 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
0 files changed, 0 insertions, 0 deletions
eletions
diff --git a/xlators/cluster/dht/src/nufa.c b/xlators/cluster/dht/src/nufa.c
index eb12be60d9f..a4a4a2568ac 100644
--- a/xlators/cluster/dht/src/nufa.c
+++ b/xlators/cluster/dht/src/nufa.c
@@ -134,8 +134,9 @@ out:
gf_log (this->name, GF_LOG_DEBUG,
"no subvolume in layout for path=%s",
local->loc.path);
- op_errno = EINVAL;
- goto err;
+ local->op_errno = ENOENT;
+ dht_lookup_everywhere (frame, this, loc);
+ return 0;
}
STACK_WIND (frame, dht_lookup_cbk,
diff --git a/xlators/cluster/dht/src/switch.c b/xlators/cluster/dht/src/switch.c
index 5a36f8dab04..766bd31ff48 100644
--- a/xlators/cluster/dht/src/switch.c
+++ b/xlators/cluster/dht/src/switch.c
@@ -207,8 +207,9 @@ out:
gf_log (this->name, GF_LOG_DEBUG,
"no subvolume in layout for path=%s",
local->loc.path);
- op_errno = EINVAL;
- goto err;
+ local->op_errno = ENOENT;
+ dht_lookup_everywhere (frame, this, loc);
+ return 0;
}
STACK_WIND (frame, dht_lookup_cbk,