diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-08 19:01:26 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-08 23:53:28 +0400 |
commit | 642fe4d00db56d65060ce2fd4c105884414acb16 (patch) | |
tree | 49d4b27e67b129dec2b1c102af9e6365466880c3 /net/sunrpc/auth_generic.c | |
parent | 0e4a43ed08e2f44aa7b96aa95d0a540d675483e1 (diff) | |
download | linux-642fe4d00db56d65060ce2fd4c105884414acb16.tar.xz |
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 <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
Cc: stable@vger.kernel.org [>= v3.4]
Diffstat (limited to 'net/sunrpc/auth_generic.c')
0 files changed, 0 insertions, 0 deletions