From 00a5e2a5112971e4d3dca8419f24d878b4199d37 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Tue, 30 Oct 2018 10:56:52 +0530 Subject: posix/ctime: Avoid log flood in posix_update_utime_in_mdata posix_update_utime_in_mdata() unconditionally logs an error if consistent time attributes features 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. fixes: bz#1644129 Change-Id: I9a1f9e7ada3366d2830f18d81f16a1461040092e Signed-off-by: Kotresh HR --- 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 947d7be2d68..3fce0b23d1f 100644 --- a/xlators/storage/posix/src/posix-metadata.c +++ b/xlators/storage/posix/src/posix-metadata.c @@ -547,10 +547,6 @@ posix_update_utime_in_mdata(xlator_t *this, const char *real_path, int fd, real_path, uuid_utoa(inode->gfid)); } } - - } else { - gf_msg(this->name, GF_LOG_WARNING, errno, P_MSG_SETMDATA_FAILED, - "posix utime set mdata failed on file"); } return; } -- cgit