diff options
author | Trond Myklebust | 2016-01-04 17:28:11 +0100 |
---|---|---|
committer | Trond Myklebust | 2016-01-04 18:36:12 +0100 |
commit | 4b0934baf9317e05c7568da1366a1d65f151d81f (patch) | |
tree | 471df710b857f344eb684e401de1a6e77697fd98 /crypto/sha512_generic.c | |
parent | NFSv4.1/pNFS: pnfs_error_mark_layout_for_return() must always return layout (diff) | |
download | kernel-qcow2-linux-4b0934baf9317e05c7568da1366a1d65f151d81f.tar.gz kernel-qcow2-linux-4b0934baf9317e05c7568da1366a1d65f151d81f.tar.xz kernel-qcow2-linux-4b0934baf9317e05c7568da1366a1d65f151d81f.zip |
NFSv4.1/pNFS: Fix a race in initiate_file_draining()
Peng Tao points out that the call to pnfs_mark_matching_lsegs_return()
could race with pnfs_put_lseg(), in which case the layout segment is
cleared, but no layoutreturn will be sent.
Fix is to replace the call to pnfs_mark_matching_lsegs_invalid().
Reported-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'crypto/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions