aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorKinglong Mee <[email protected]>2015-03-22 22:17:20 +0800
committerJ. Bruce Fields <[email protected]>2015-03-25 21:13:03 -0400
commit7890203da2cb9b861dae9bdb88f882f3e03baec9 (patch)
tree3324d3da99993bd151f86c7680169ff8c2e212e6 /lib/cpu-notifier-error-inject.c
parent376675daeac3dc0e39b84ca90f0bdc41a9d44d46 (diff)
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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions