diff options
author | 2017-09-22 07:57:10 -0400 | |
---|---|---|
committer | 2017-10-01 18:51:30 -0400 | |
commit | 68ebf8fe3bce8c167cf83fbd681c1eb1ed419c6c (patch) | |
tree | a072af2954f775be39270f672ad956d0d0b35444 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFS: Cleanup error handling in nfs_idmap_request_key() (diff) | |
download | wireguard-linux-68ebf8fe3bce8c167cf83fbd681c1eb1ed419c6c.tar.xz wireguard-linux-68ebf8fe3bce8c167cf83fbd681c1eb1ed419c6c.zip |
NFS: Fix uninitialized rpc_wait_queue
Michael Sterrett reports a NULL pointer dereference on NFSv3 mounts when
CONFIG_NFS_V4 is not set because the NFS UOC rpc_wait_queue has not been
initialized. Move the initialization of the queue out of the CONFIG_NFS_V4
conditional setion.
Fixes: 7d6ddf88c4db ("NFS: Add an iocounter wait function for async RPC tasks")
Cc: stable@vger.kernel.org # 4.11+
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions