diff options
| author | Youling Tang <[email protected]> | 2024-06-04 08:46:10 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-06-21 14:17:07 +0000 |
| commit | bd4da0462ea7bf26b2a5df5528ec20c550f7ec41 (patch) | |
| tree | 9d7b45c043ac34a58e2f0da57002b04c664bf914 /lib/closure.c | |
| parent | bcachefs: Fix a UAF after write_super() (diff) | |
| download | kernel-bd4da0462ea7bf26b2a5df5528ec20c550f7ec41.tar.gz kernel-bd4da0462ea7bf26b2a5df5528ec20c550f7ec41.zip | |
bcachefs: Move the ei_flags setting to after initialization
`inode->ei_flags` setting and cleaning should be done after initialization,
otherwise the operation is invalid.
Fixes: 9ca4853b98af ("bcachefs: Fix quota support for snapshots")
Signed-off-by: Youling Tang <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/closure.c')
0 files changed, 0 insertions, 0 deletions
