lkml.org 
[lkml]   [2023]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2023-10-10 10:30    [W:8.167 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site