diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-08 10:01:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:50:50 -0800 |
commit | c7cde2b3d27a5417021d7fc6da0f7941eab63769 (patch) | |
tree | 631311ec7d39f6a50d4f4b7c147b60bf958bf065 /lib/string_helpers.c | |
parent | 297456d8fe2b141f0f05b5d6ff48a4cd0b5f5889 (diff) |
SUNRPC: Fix validity issues with rpc_pipefs sb->s_fs_info
commit 642fe4d00db56d65060ce2fd4c105884414acb16 upstream.
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 <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions