commit | 2c64c57dfc4b7946f7abd8af653f55af581bc2c3 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Feb 12 09:36:59 2014 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Feb 19 21:21:01 2014 -0500 |
tree | ac1741fe6177634056d41ba1437d122fc778a403 | |
parent | 311324ad1713666a6e803aecf0d4e1a136a5b34a [diff] |
NFSv4.1: Fix wraparound issues in pnfs_seqid_is_newer() Subtraction of signed integers does not have well defined wraparound semantics in the C99 standard. In order to be wraparound-safe, we have to use unsigned subtraction, and then cast the result. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>