gfs2: Fix potential glock use-after-free on unmount
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gfs2: Remove ill-placed consistency checkfs/ | +0 | 0 replies | |
| 2/3 | gfs2: Fix potential glock use-after-free on unmountfs/ fs/ fs/ +3 more | +55 | 0 replies | |
| 3/3 | gfs2: Unlock fewer glocks on unmountfs/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] gfs2: Fix potential glock use-after-free on unmount
On top of what we already have on for-next, here are three more patches.
gfs2: Remove ill-placed consistency check
Removes a consistency check that isn't needed anymore and only gets in the way of the next patch.
gfs2: Fix potential glock use-after-free on unmount
Prevent DLM bast callbacks from accessing glock objects after they have been freed.
gfs2: Unlock fewer glocks on unmount
We can be a little more aggressive in avoiding to unlock DLM locks immediately before the lockspace is released.
Thanks,
Andreas
Andreas Gruenbacher (3):
gfs2: Remove ill-placed consistency check
gfs2: Fix potential glock use-after-free on unmount
gfs2: Unlock fewer glocks on unmount
fs/gfs2/glock.c | 32 ++++++++++++++++++++++++++++---- fs/gfs2/glock.h | 2 ++ fs/gfs2/incore.h | 1 + fs/gfs2/lock_dlm.c | 40 +++++++++++++++++++++++++++++----------- fs/gfs2/ops_fstype.c | 1 + fs/gfs2/super.c | 1 + 6 files changed, 62 insertions(+), 15 deletions(-)
Signature · 1 line
2.44.0