diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-09-20 01:36:07 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-02-25 08:10:31 +0100 |
commit | 529f89a9e4531e80c44871d7d0c30df6540c20e5 (patch) | |
tree | 54f0dc53465d180571fb976ba2a4fbdc569c9da7 /fs/affs/affs.h | |
parent | rcu pathwalk: prevent bogus hard errors from may_lookup() (diff) | |
download | linux-529f89a9e4531e80c44871d7d0c30df6540c20e5.tar.xz linux-529f89a9e4531e80c44871d7d0c30df6540c20e5.zip |
affs: free affs_sb_info with kfree_rcu()
one of the flags in it is used by ->d_hash()/->d_compare()
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/affs.h')
-rw-r--r-- | fs/affs/affs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 60685ec76d98..2e612834329a 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -105,6 +105,7 @@ struct affs_sb_info { int work_queued; /* non-zero delayed work is queued */ struct delayed_work sb_work; /* superblock flush delayed work */ spinlock_t work_lock; /* protects sb_work and work_queued */ + struct rcu_head rcu; }; #define AFFS_MOUNT_SF_INTL 0x0001 /* International filesystem. */ |