summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-06-19 13:36:11 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2015-06-22 04:55:06 -0700
commitbf3c34f9db793a1b84b7346ac8756098b44cbaff (patch)
treeffd6889b8515dedad5ff260ac7cfab95aa07fcc4 /xlators/storage
parent142cbe0cfe1f0ff64d081f792e33337977ef5562 (diff)
posix: lstat() failure have to recorded as warning
BUG: 1200364 Change-Id: Ic9cae46e89e49fede2150f420ca0b1e202d84bbe Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9849 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 73295eb72af..046ec90ea00 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -141,7 +141,7 @@ posix_lookup (call_frame_t *frame, xlator_t *this,
if (op_ret == -1) {
if (op_errno != ENOENT) {
- gf_msg (this->name, GF_LOG_ERROR, op_errno,
+ gf_msg (this->name, GF_LOG_WARNING, op_errno,
P_MSG_LSTAT_FAILED,
"lstat on %s failed",
real_path ? real_path : "null");