diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-08 10:01:26 -0500 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-08 14:53:28 -0500 |
| commit | 642fe4d00db56d65060ce2fd4c105884414acb16 (patch) | |
| tree | 49d4b27e67b129dec2b1c102af9e6365466880c3 /fs/nfs/write.c | |
| parent | 0e4a43ed08e2f44aa7b96aa95d0a540d675483e1 (diff) | |
| download | olio-linux-3.10-642fe4d00db56d65060ce2fd4c105884414acb16.tar.xz olio-linux-3.10-642fe4d00db56d65060ce2fd4c105884414acb16.zip | |
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 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions