From: Tomohiro Kusumi Date: Wed, 15 Feb 2017 20:40:54 +0000 (+0200) Subject: Drop obsolete comment on a race condition X-Git-Tag: fio-2.18~14 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6acbee37b570fc1323f9cede201589babfafa274;p=fio.git Drop obsolete comment on a race condition which is also mentioned in below posts. http://www.spinics.net/lists/fio/msg05548.html http://www.spinics.net/lists/fio/msg05552.html Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/filesetup.c b/filesetup.c index 3fa8b32e..e9976eb1 100644 --- a/filesetup.c +++ b/filesetup.c @@ -500,9 +500,6 @@ int file_lookup_open(struct fio_file *f, int flags) __f = lookup_file_hash(f->file_name); if (__f) { dprint(FD_FILE, "found file in hash %s\n", f->file_name); - /* - * racy, need the __f->lock locked - */ f->lock = __f->lock; from_hash = 1; } else {