Searched hist:"7890203 da2cb9b861dae9bdb88f882f3e03baec9" (Results 1 – 1 of 1) sorted by relevance
/linux/fs/nfsd/ |
H A D | nfs4layouts.c | diff 7890203da2cb9b861dae9bdb88f882f3e03baec9 Sun Mar 22 15:17:20 CET 2015 Kinglong Mee <kinglongmee@gmail.com> 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>
|