Files
linux/fs/afs
David Howells 2788511b09 afs: afs_write_end() should change i_size under the right lock
[ Upstream commit 1f32ef7989 ]

Fix afs_write_end() to change i_size under vnode->cb_lock rather than
->wb_lock so that it doesn't race with afs_vnode_commit_status() and
afs_getattr().

The ->wb_lock is only meant to guard access to ->wb_keys which isn't
accessed by that piece of code.

Fixes: 4343d00872 ("afs: Get rid of the afs_writeback record")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-25 15:33:06 +02:00
..
2018-04-09 21:53:59 +01:00
2018-10-12 13:18:57 +02:00
2018-06-15 00:52:55 -04:00
2018-02-06 14:43:37 +00:00
2020-04-02 15:28:19 +02:00
2020-01-27 14:51:20 +01:00