diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-03-07 16:46:04 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 15:50:32 +1100 |
commit | 97c6f25d5828b497e3e802b1f7c70187c88df623 (patch) | |
tree | 45f54aeb912c410b93419955aeaa18e97da89517 /fs/nfsd/nfs3acl.c | |
parent | 5ee573e8ef034e687c420cb10911371488d14b10 (diff) |
PCI/hotplug: ppc: correct a php_slot usage after free
In pnv_php_unregister_one(), pnv_php_put_slot() might kfree
php_slot structure. But there is pci_hp_deregister() after
that with php_slot reference.
This patch moves pnv_php_put_slot() to the end of function.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/nfsd/nfs3acl.c')
0 files changed, 0 insertions, 0 deletions