]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fix oops in fs/9p late mount failure
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jan 2010 11:16:19 +0000 (06:16 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Feb 2010 12:50:46 +0000 (04:50 -0800)
commit26d2257801281a5bd2833d8f22cebead57a4b4c6
tree15833d8f1b4837d8095e1580b0a8b09e70421d5b
parentdeb20f1c49d390d3fcb62fa9789486f170054004
fix oops in fs/9p late mount failure

commit 083c73c253c23c20359a344dfe1198ea628e6259 upstream.

if 9P ->get_sb() fails late (at root inode or root dentry
allocation), we'll hit its ->kill_sb() with NULL ->s_root

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/9p/vfs_super.c