Drop obsolete comment on a race condition
[fio.git] / filesetup.c
index 3fa8b32e3b8d4b4d7e6227f211365d3f3ffd8cd6..e9976eb17a879ee3c98f51f45dc3b0746f23f3f5 100644 (file)
@@ -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);
        __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 {
                f->lock = __f->lock;
                from_hash = 1;
        } else {