summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3proc.c
diff options
context:
space:
mode:
authorTrond Myklebust2016-01-04 17:28:11 +0100
committerTrond Myklebust2016-01-04 18:36:12 +0100
commit4b0934baf9317e05c7568da1366a1d65f151d81f (patch)
tree471df710b857f344eb684e401de1a6e77697fd98 /fs/nfs/nfs3proc.c
parentNFSv4.1/pNFS: pnfs_error_mark_layout_for_return() must always return layout (diff)
downloadkernel-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 'fs/nfs/nfs3proc.c')
0 files changed, 0 insertions, 0 deletions