linux/fs/fuse
Miklos Szeredi 1cfdc44774 fuse: initialize fc->release before calling it
[ Upstream commit 0ad0b3255a ]

fc->release is called from fuse_conn_put() which was used in the error
cleanup before fc->release was initialized.

[Jeremiah Mahler <jmmahler@gmail.com>: assign fc->release after calling
fuse_conn_init(fc) instead of before.]

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Fixes: a325f9b922 ("fuse: update fuse_conn_init() and separate out fuse_conn_kill()")
Cc: <stable@vger.kernel.org> #v2.6.31+
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-07-05 10:12:55 -04:00
..
control.c fuse: add __exit to fuse_ctl_cleanup 2014-04-28 14:19:21 +02:00
cuse.c fuse: pull iov_iter initializations up 2014-05-06 17:32:51 -04:00
dev.c fuse: notify: don't move pages 2015-03-28 09:33:41 -04:00
dir.c vfs: Make d_invalidate return void 2014-10-09 02:38:57 -04:00
file.c fuse: honour max_read and max_write in direct_io mode 2014-09-26 21:16:51 -04:00
fuse_i.h fuse: pull iov_iter initializations up 2014-05-06 17:32:51 -04:00
inode.c fuse: initialize fc->release before calling it 2015-07-05 10:12:55 -04:00
Kconfig fuse: Move CUSE Kconfig entry from fs/Kconfig into fs/fuse/Kconfig 2013-01-17 13:08:45 +01:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00