lkml.org 
[lkml]   [2018]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 071/328] fuse: don't wake up reserved req in fuse_conn_kill()
    3.16.62-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Miklos Szeredi <mszeredi@suse.cz>

    commit 0c4dd4ba1426c599072511dcf95a15ee5e12725b upstream.

    Waking up reserved_req_waitq from fuse_conn_kill() doesn't make sense since
    we aren't chaging ff->reserved_req here, which is what this waitqueue
    signals.

    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    fs/fuse/inode.c | 1 -
    1 file changed, 1 deletion(-)

    --- a/fs/fuse/inode.c
    +++ b/fs/fuse/inode.c
    @@ -387,7 +387,6 @@ void fuse_conn_kill(struct fuse_conn *fc
    kill_fasync(&fc->fasync, SIGIO, POLL_IN);
    wake_up_all(&fc->waitq);
    wake_up_all(&fc->blocked_waitq);
    - wake_up_all(&fc->reserved_req_waitq);
    }
    EXPORT_SYMBOL_GPL(fuse_conn_kill);

    \
     
     \ /
      Last update: 2018-12-09 23:26    [W:4.026 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site