summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2023-08-11 21:48:14 +0200
committerChristian Brauner <brauner@kernel.org>2023-08-15 08:32:45 +0200
commit45e0d4b95b65fedd18aa3e1b6571e16a2e6e0aa9 (patch)
tree2b6aad56f217e7416cc8d37f7545b219340ea055 /init
parent89cbd4c036ba44eadc495820e72c5c36273abb76 (diff)
vfs: fix up the assert in i_readcount_dec
Drops a race where 2 threads could spot a positive value and both proceed to dec to -1, without reporting anything. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Message-Id: <20230811194814.1612336-1-mjguzik@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions