diff options
| author | Miklos Szeredi <mszeredi@redhat.com> | 2026-10-06 18:05:35 +0200 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-10-19 14:56:24 +0200 |
| commit | 609f1258d358f810e4034776f0c0799acb10bfed (patch) | |
| tree | b1a7e0d0ebe57772b2f984766bbf578e272f2986 /tools/lib/python/kdoc | |
| parent | c87dd99b6d0fe07e836c1593c03e8174029c66f4 (diff) | |
dax: use READ_ONCE() in dax_holder()
A future fuse patch will utilize dax_holder() in RCU context to make sure
that the holder can't be freed by a racing fs_put_dax.
This patch just makes sure that dax_holder() works properly in such a
context by adding READ_ONCE() (equivalent to rcu_dereference minus sanity
checks).
Fixing XFS is out of scope for this patchset.
Reviewed-by: Gregory Price (Meta) <gourry@gourry.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
