Pull cgroup fix from Tejun Heo: "Fix leak of filesystem context root which is triggered by LTP. Not too likely to be a problem in non-testing environments" * 'for-5.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cgroup1: fix leaked context root causing sporadic NULL deref in LTP
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -141,6 +141,7 @@ extern int vfs_get_tree(struct fs_context *fc); · 140 unmodified lines | ||
| 141 | 141 | extern void put_fs_context(struct fs_context *fc); |
| 142 | 142 | extern int vfs_parse_fs_param_source(struct fs_context *fc, |
| 143 | 143 | struct fs_parameter *param); |
| 144 | +extern void fc_drop_locked(struct fs_context *fc); | |
| 144 | 145 | |
| 145 | 146 | /* |
| 146 | 147 | * sget() wrappers to be called from the ->get_tree() op. |