diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-12 15:36:59 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-20 03:21:01 +0100 |
commit | 2c64c57dfc4b7946f7abd8af653f55af581bc2c3 (patch) | |
tree | ac1741fe6177634056d41ba1437d122fc778a403 /fs/nfs/nfs4_fs.h | |
parent | NFS: Be more aggressive in using readdirplus for 'ls -l' situations (diff) | |
download | linux-2c64c57dfc4b7946f7abd8af653f55af581bc2c3.tar.xz linux-2c64c57dfc4b7946f7abd8af653f55af581bc2c3.zip |
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>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
0 files changed, 0 insertions, 0 deletions