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>
This commit is contained in:
parent
d05d4c61e7
commit
e0df887ba0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user