summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2018-07-21 04:27:12 -0700
committerAmar Tumballi <amarts@redhat.com>2018-07-23 03:57:13 +0000
commite0df887ba044ce92e9a2822be9261d0f712b02bd (patch)
tree846a71df5b9c2fc6fb9c221b956effc003e10cbd
parentd05d4c61e784d08e87aed5b924504004f53b4fad (diff)
storage/posix: Avoid log flood in posix_set_parent_ctime()
posix_set_parent_ctime() unconditionally logs an error if consistent time attributes is not enabled. This log does not add any value, prints an incorrect errno & floods the log file. Hence nuking this log message in this patch. Change-Id: I82a78f2f8ce5ab518f8cdf6d9086a97049712f75 fixes: bz#1607049 Signed-off-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/storage/posix/src/posix-metadata.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/storage/posix/src/posix-metadata.c b/xlators/storage/posix/src/posix-metadata.c
index 03e14f9873f..7488e59ae70 100644
--- a/xlators/storage/posix/src/posix-metadata.c
+++ b/xlators/storage/posix/src/posix-metadata.c
@@ -665,10 +665,6 @@ posix_set_parent_ctime (call_frame_t *frame, xlator_t *this,
"posix set mdata failed on file: %s gfid:%s",
real_path, uuid_utoa (inode->gfid));
}
- } else {
- gf_msg (this->name, GF_LOG_WARNING, errno,
- P_MSG_SETMDATA_FAILED,
- "posix parent set mdata failed on file");
}
return;
}