summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-08-21 11:09:29 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-09-10 12:47:02 -0700
commit921b81a8cd5a4acc2a009778d13eedd377362c4c (patch)
tree8efd8cfe55fa1e62de0a557c6d3579e99dc240b9 /drivers/clocksource/qcom-timer.c
parentbe98fd0ac3dd45c1aa404b101caa37f9b317ab57 (diff)
pnfs/blocklayout: correctly decrement extent length
When we do non-page sized reads we can underflow the extent_length variable and read incorrect data. Fix the extent_length calculation and change to defensive <= checks for the extent length in the read and write path. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions