diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-03-29 23:46:05 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-13 00:14:17 +0300 |
commit | 9fdbfad1777cb4638f489eeb62d85432010c0031 (patch) | |
tree | db7380727b54a1bae6ae474b925782554d5c0ab6 /fs/nfs/nfstrace.h | |
parent | 99f23783224355e7022ceea9b8d9f62c0fd01bd8 (diff) | |
download | linux-9fdbfad1777cb4638f489eeb62d85432010c0031.tar.xz |
NFS: Deal correctly with attribute generation counter overflow
We need to use unsigned long subtraction and then convert to signed in
order to deal correcly with C overflow rules.
Fixes: f5062003465c ("NFS: Set an attribute barrier on all updates")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfstrace.h')
0 files changed, 0 insertions, 0 deletions