From e0df887ba044ce92e9a2822be9261d0f712b02bd Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Sat, 21 Jul 2018 04:27:12 -0700 Subject: 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 --- xlators/storage/posix/src/posix-metadata.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators/storage/posix') 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; } -- cgit