path: root/xlators/debug/io-stats/src/io-stats.c
diff options
authorYaniv Kaul <>2019-03-25 19:07:16 +0200
committerAmar Tumballi <>2019-04-15 02:25:26 +0000
commita67929e18a39d5c79a4a7e2b78015523626a367e (patch)
treecee5cbfb669df65699d932b2f8944ff28f0a7e7c /xlators/debug/io-stats/src/io-stats.c
parentc56f102da21c5b69e656a055aaf736281596284d (diff)
graph.c: remove extra gettimeofday() - reuse the graph dob.
It was written just before fill_void() call. Note that there was a possible overflow if the hostname was too long (unrelated to this patch), but it is now also fixed, as we use a smaller buffer for the hostname. This, in turn, forces us to check if gethostname() failed and add explicitly the terminating null to it. Change-Id: I45fbc0a8e105f1247f3cbf61befac06fabbaea06 updates: bz#1193929 Signed-off-by: Yaniv Kaul <>
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
0 files changed, 0 insertions, 0 deletions