On Tue, Oct 08, 2024 at 10:52:04AM +0000, Hans Holmberg wrote: > From: Hans Holmberg <Hans.Holmberg@xxxxxxx> > > If we call _try_scratch_mkfs_size with $SCRATCH_RTDEV set followed by > a call with $SCRATCH_RTDEV cleared, rt_ops will have stale size > parameters that will cause mkfs.xfs to fail with: > "size specified for non-existent rt subvolume" > > Make rt_ops local to fix this. > > Signed-off-by: Hans Holmberg <hans.holmberg@xxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Note that the signoff here and for the next patch was just due to me applying it to my staging tree. For submission feel free to turn this into: Reviewed-by: Christoph Hellwig <hch@xxxxxx>