diff options
author | Christian Brauner <brauner@kernel.org> | 2024-10-07 16:23:57 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-10-08 13:12:32 +0200 |
commit | 8b1bc2590af61129b82a189e9dc7c2804c34400e (patch) | |
tree | 3e78a212aa04bd7215b956175ae43c322466ff2e /fs/file.c | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) |
fs: protect backing files with rcu
Currently backing files are not under any form of rcu protection.
Switching to file_ref requires rcu protection and so does the
speculative vma lookup. Switch backing files to the same rcu slab type
as regular files. There should be no additional magic required as the
lifetime of a backing file is always tied to a regular file.
Link: https://lore.kernel.org/r/20241007-brauner-file-rcuref-v2-1-387e24dc9163@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions