From: Miklos Szeredi Date: Mon, 10 Mar 2003 09:35:34 +0000 (+0000) Subject: fix umount oops X-Git-Tag: debian_version_1_0-1~8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=79b461a8e109fd4ff5267af544e59bed530279bc;p=qemu-gpiodev%2Flibfuse.git fix umount oops --- diff --git a/ChangeLog b/ChangeLog index 84fa949..4c78652 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-03-10 Miklos Szeredi + + * Fix umount oops (found by Samuli Kärkkäinen) + 2003-03-05 Miklos Szeredi * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier diff --git a/kernel/inode.c b/kernel/inode.c index 0e33035..0cb8b65 100644 --- a/kernel/inode.c +++ b/kernel/inode.c @@ -64,10 +64,10 @@ static void fuse_put_super(struct super_block *sb) fc->sb = NULL; fc->uid = 0; fc->flags = 0; - fuse_release_conn(fc); - sb->u.generic_sbp = NULL; /* Flush all readers on this fs */ wake_up_all(&fc->waitq); + fuse_release_conn(fc); + sb->u.generic_sbp = NULL; spin_unlock(&fuse_lock); }