summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2015-03-22 15:17:20 +0100
committerJ. Bruce Fields <bfields@redhat.com>2015-03-26 02:13:03 +0100
commit7890203da2cb9b861dae9bdb88f882f3e03baec9 (patch)
tree3324d3da99993bd151f86c7680169ff8c2e212e6 /REPORTING-BUGS
parentNFSD: Take care the return value from nfsd4_encode_stateid (diff)
downloadlinux-7890203da2cb9b861dae9bdb88f882f3e03baec9.tar.xz
linux-7890203da2cb9b861dae9bdb88f882f3e03baec9.zip
NFSD: Fix bad update of layout in nfsd4_return_file_layout
With return layout as, (seg is return layout, lo is record layout) seg->offset <= lo->offset and layout_end(seg) < layout_end(lo), nfsd should update lo's offset to seg's end, and, seg->offset > lo->offset and layout_end(seg) >= layout_end(lo), nfsd should update lo's end to seg's offset. Fixes: 9cf514ccfa ("nfsd: implement pNFS operations") Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions