xfs: handle mount failures more cleanly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: add mount delay debug optionfs/ fs/ fs/ +1 more | +44 | 1 reply | |
| 2/2 | xfs: clear sb->s_fs_info on mount failurefs/ | +10 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Brian Foster | Darrick J. Wong |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] xfs: handle mount failures more cleanly
Hi folks,
This is the XFS side of the "fs: don't scan the inode cache before SB_BORN is set" changes to handle mount failures more cleanly. This addresses teh use-after-free problems that can occur when xfs_fs_fill_super() fails, frees the xfs_mount structure but then leaves the VFS superblock pointing to it.
Th efirst patch is the mount delay sysfs option I've been using to test this. I'll post the fstest that uses it in a minute.
Cheers,
Dave.