summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-31 17:02:02 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-04-08 21:06:50 -0400
commitdaeba89d43af0fa469d38a4ccdc32fff8ca17c2e (patch)
tree1c228b639571866d492e7ab8d5b843e41a955970 /fs/nfs
parent7180c4c9e09888db0a188f729c96c6d7bd61fa83 (diff)
SUNRPC: don't call flush_dcache_page() with an invalid pointer
Fix a problem in _copy_to_pages(), whereby it may call flush_dcache_page() with an invalid pointer due to the fact that 'pgto' gets incremented beyond the end of the page array. Fix is to exit the loop without this unnecessary increment of pgto. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions