summaryrefslogtreecommitdiff
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-01-04 11:28:11 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-01-04 12:36:12 -0500
commit4b0934baf9317e05c7568da1366a1d65f151d81f (patch)
tree471df710b857f344eb684e401de1a6e77697fd98 /fs/nfs/pnfs.c
parent10335556c9e6ed2e1949fb595b7775f475299832 (diff)
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/pnfs.c')
0 files changed, 0 insertions, 0 deletions