summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-03-29 16:46:05 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-22 10:40:31 +0200
commit6e15fb6cb6ac678786e98f673ac5ba1bc33e319b (patch)
treeb572a26cd09208791b33cffe47ed02b524fe19bd /fs/ecryptfs
parent1a3a24e3514b608077049a1f4c7abfb9c6569716 (diff)
downloadlinux-stable-6e15fb6cb6ac678786e98f673ac5ba1bc33e319b.tar.gz
linux-stable-6e15fb6cb6ac678786e98f673ac5ba1bc33e319b.tar.bz2
linux-stable-6e15fb6cb6ac678786e98f673ac5ba1bc33e319b.zip
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>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions