diff options
| author | Kotresh HR <khiremat@redhat.com> | 2018-10-31 10:43:18 +0530 | 
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-11-05 19:10:37 +0000 | 
| commit | f79c01b0ddd4770808eb1f9a384dba66cdd1dc37 (patch) | |
| tree | a1ac1d8d20248fbd1e2d6fb6390c22470161570e | |
| parent | bd6cc7b2189c796e5d61edd33d6bd0c4170fc52a (diff) | |
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#1644524
Change-Id: I01736d2ed48d14f12ccd8a808521f59145e42ccb
Signed-off-by: Kotresh HR <khiremat@redhat.com>
| -rw-r--r-- | xlators/storage/posix/src/posix-metadata.c | 5 | 
1 files changed, 0 insertions, 5 deletions
diff --git a/xlators/storage/posix/src/posix-metadata.c b/xlators/storage/posix/src/posix-metadata.c index efaaa49e909..922fccc5f30 100644 --- a/xlators/storage/posix/src/posix-metadata.c +++ b/xlators/storage/posix/src/posix-metadata.c @@ -562,11 +562,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;  }  | 
