mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
[ Upstream commit99f2378322] Whether we're allocating or delallocating space, we should flush out the pending writes in order to avoid races with attribute updates. Fixes:1e564d3dbd("NFSv4.2: Fix a race in nfs42_proc_deallocate()") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a09afbb636
commit
cbc868ea28
1 changed files with 9 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue