mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
NFS: nfs4_bitmask_adjust() must not change the server global bitmasks
[ Upstream commit332d1a0373] As currently set, the calls to nfs4_bitmask_adjust() will end up overwriting the contents of the nfs_server cache_consistency_bitmask field. The intention here should be to modify a private copy of that mask in the close/delegreturn/write arguments. Fixes:76bd5c016e("NFSv4: make cache consistency bitmask dynamic") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0627cbc9b8
commit
ce2b470add
2 changed files with 42 additions and 25 deletions
Loading…
Add table
Add a link
Reference in a new issue