NFS: Deal correctly with attribute generation counter overflow
[ Upstream commit 9fdbfad1 ] We need to use unsigned long subtraction and then convert to signed in order to deal correcly with C overflow rules. Fixes: f5062003 ("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>
parent
1a3a24e3
Please register or sign in to comment