From: Trond Myklebust Date: Thu, 8 Nov 2012 15:01:26 +0000 (-0500) Subject: SUNRPC: Fix validity issues with rpc_pipefs sb->s_fs_info X-Git-Tag: v3.8-rc1~72^2~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642fe4d00db56d65060ce2fd4c105884414acb16;p=pandora-kernel.git SUNRPC: Fix validity issues with rpc_pipefs sb->s_fs_info rpc_kill_sb() must defer calling put_net() until after the notifier has been called, since most (all?) of the notifier callbacks assume that sb->s_fs_info points to a valid net namespace. It also must not call put_net() if the call to rpc_fill_super was unsuccessful. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=48421 Signed-off-by: Trond Myklebust Cc: Stanislav Kinsbursky Cc: stable@vger.kernel.org [>= v3.4] --- Reading git-diff-tree failed