lkml.org 
[lkml]   [2009]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/5 -tip] fuse: umount_begin BKL pushdown
    Date
    Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
    ---
    fs/fuse/inode.c | 3 +++
    1 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
    index 459b73d..d1bc4d3 100644
    --- a/fs/fuse/inode.c
    +++ b/fs/fuse/inode.c
    @@ -19,6 +19,7 @@
    #include <linux/random.h>
    #include <linux/sched.h>
    #include <linux/exportfs.h>
    +#include <linux/smp_lock.h>

    MODULE_AUTHOR("Miklos Szeredi <miklos@szeredi.hu>");
    MODULE_DESCRIPTION("Filesystem in Userspace");
    @@ -259,7 +260,9 @@ struct inode *fuse_iget(struct super_block *sb, u64 nodeid,

    static void fuse_umount_begin(struct super_block *sb)
    {
    + lock_kernel();
    fuse_abort_conn(get_fuse_conn_super(sb));
    + unlock_kernel();
    }

    static void fuse_send_destroy(struct fuse_conn *fc)
    --
    1.6.0.4


    \
     
     \ /
      Last update: 2009-04-23 21:15    [W:0.021 / U:2.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site