author | Miklos Szeredi <mszeredi@suse.cz> | |
Wed, 1 Jul 2015 14:25:55 +0000 (16:25 +0200) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Mon, 3 Aug 2015 16:29:57 +0000 (09:29 -0700) | ||
commit | 41ba3f95026b5910e7179c579db88862257c6125 | |
tree | 7922b8b39f0bb4faf49ab2c95b74f9b0ee29fa10 | tree | snapshot (tar.xz tar.gz zip) |
parent | afee5b6682d0e3926489b37582fb2b050583529d | commit | diff |
fuse: initialize fc->release before calling it
commit 0ad0b3255a08020eaf50e34ef0d6df5bdf5e09ed upstream.
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: a325f9b92273 ("fuse: update fuse_conn_init() and separate out fuse_conn_kill()")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 0ad0b3255a08020eaf50e34ef0d6df5bdf5e09ed upstream.
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: a325f9b92273 ("fuse: update fuse_conn_init() and separate out fuse_conn_kill()")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/fuse/inode.c | diff | blob | history |