diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-03 11:43:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-03 11:43:12 -0700 |
commit | 200e340f2196d7fd427a5810d06e893b932f145a (patch) | |
tree | 4456f23530138623ebed57fa2369affabe68368f /block | |
parent | a782e866497217f22c5d9014cbb7be8549151376 (diff) | |
parent | 50417d22d0efbb1be76c3cb66b2329f83741c9c7 (diff) | |
download | linux-200e340f2196d7fd427a5810d06e893b932f145a.tar.gz linux-200e340f2196d7fd427a5810d06e893b932f145a.tar.bz2 linux-200e340f2196d7fd427a5810d06e893b932f145a.zip |
Merge tag 'pull-work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs dcache updates from Al Viro:
"The main part here is making parallel lookups safe for RT - making
sure preemption is disabled in start_dir_add()/ end_dir_add() sections
(on non-RT it's automatic, on RT it needs to to be done explicitly)
and moving wakeups from __d_lookup_done() inside of such to the end of
those sections.
Wakeups can be safely delayed for as long as ->d_lock on in-lookup
dentry is held; proving that has caught a bug in d_add_ci() that
allows memory corruption when sufficiently bogus ntfs (or
case-insensitive xfs) image is mounted. Easily fixed, fortunately"
* tag 'pull-work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
fs/dcache: Move wakeup out of i_seq_dir write held region.
fs/dcache: Move the wakeup from __d_lookup_done() to the caller.
fs/dcache: Disable preemption on i_dir_seq write side on PREEMPT_RT
d_add_ci(): make sure we don't miss d_lookup_done()
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions