summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorWeston Andros Adamson2016-06-17 22:48:24 +0200
committerAnna Schumaker2016-06-24 18:01:00 +0200
commit5e3a98883e7ebdd1440f829a9e9dd5c3d2c5903b (patch)
tree71716567b64b5e73b59d7a96a480caac1061e5c6 /virt
parentnfs4: Fix potential use after free of state in nfs4_do_reclaim. (diff)
downloadkernel-qcow2-linux-5e3a98883e7ebdd1440f829a9e9dd5c3d2c5903b.tar.gz
kernel-qcow2-linux-5e3a98883e7ebdd1440f829a9e9dd5c3d2c5903b.tar.xz
kernel-qcow2-linux-5e3a98883e7ebdd1440f829a9e9dd5c3d2c5903b.zip
pnfs_nfs: fix _cancel_empty_pagelist
pnfs_generic_commit_cancel_empty_pagelist calls nfs_commitdata_release, but that is wrong: nfs_commitdata_release puts the open context, something that isn't valid until nfs_init_commit is called, which is never the case when pnfs_generic_commit_cancel_empty_pagelist is called. This was introduced in "nfs: avoid race that crashes nfs_init_commit". Signed-off-by: Weston Andros Adamson <dros@primarydata.com> Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions