linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: handle mount failures more cleanly
@ 2018-05-11  2:09 Dave Chinner
  2018-05-11  2:09 ` [PATCH 1/2] xfs: add mount delay debug option Dave Chinner
  2018-05-11  2:09 ` [PATCH 2/2] xfs: clear sb->s_fs_info on mount failure Dave Chinner
  0 siblings, 2 replies; 5+ messages in thread
From: Dave Chinner @ 2018-05-11  2:09 UTC (permalink / raw)
  To: linux-xfs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-12  0:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11  2:09 [PATCH 0/2] xfs: handle mount failures more cleanly Dave Chinner
2018-05-11  2:09 ` [PATCH 1/2] xfs: add mount delay debug option Dave Chinner
2018-05-12  0:28   ` Darrick J. Wong
2018-05-11  2:09 ` [PATCH 2/2] xfs: clear sb->s_fs_info on mount failure Dave Chinner
2018-05-11 13:46   ` Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).