summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/hfsplus_fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-09-19 20:18:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-02-25 02:10:31 -0500
commitaf072cf683acd2307e02378cfcf2502c49d2e127 (patch)
tree790a21d7610d3ead80be4ad0b21936f92d9f247d /fs/hfsplus/hfsplus_fs.h
parenta13d1a4de3b0fe3c41d818697d691c886c5585fa (diff)
downloadlinux-af072cf683acd2307e02378cfcf2502c49d2e127.tar.gz
linux-af072cf683acd2307e02378cfcf2502c49d2e127.tar.bz2
linux-af072cf683acd2307e02378cfcf2502c49d2e127.zip
hfsplus: switch to rcu-delayed unloading of nls and freeing ->s_fs_info
->d_hash() and ->d_compare() use those, so we need to delay freeing them. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
-rw-r--r--fs/hfsplus/hfsplus_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h
index 7ededcb720c1..012a3d003fbe 100644
--- a/fs/hfsplus/hfsplus_fs.h
+++ b/fs/hfsplus/hfsplus_fs.h
@@ -190,6 +190,7 @@ struct hfsplus_sb_info {
int work_queued; /* non-zero delayed work is queued */
struct delayed_work sync_work; /* FS sync delayed work */
spinlock_t work_lock; /* protects sync_work and work_queued */
+ struct rcu_head rcu;
};
#define HFSPLUS_SB_WRITEBACKUP 0