commit | d21a5950cca69d5ac199f011752c90e171f6c5d1 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Mar 29 16:46:05 2021 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 19 10:13:02 2021 +0200 |
tree | 29888d25446a648017c1e50cfd26ade7c9c5360b | |
parent | cbc868ea28a8db2daab63cfb4d8c08ccafda5c10 [diff] |
NFS: Deal correctly with attribute generation counter overflow [ Upstream commit 9fdbfad1777cb4638f489eeb62d85432010c0031 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>