Messages in this thread | | | Date | Tue, 10 Oct 2023 10:29:27 +0200 | From | Christian Brauner <> | Subject | Re: [PATCH v2] vfs: shave work on failed file open |
| |
> is buried in the previous paragraph and it's not obvious that it applies to > the last one as well. Incidentally, I would probably turn that fragment
massaged to clarify
> (in io_uring/openclose.c:io_close()) into > spin_lock(&files->file_lock); > file = files_lookup_fd_locked(files, close->fd); > if (!file || io_is_uring_fops(file)) { > spin_unlock(&files->file_lock); > goto err; > }
done
| |