[PATCH v2] xfs_mkfs: Do not discard if '-N' is provided

Ben Myers bpm at sgi.com
Thu Feb 14 16:07:26 CST 2013


On Tue, Feb 12, 2013 at 04:44:30PM +0100, Lukas Czerner wrote:
> When '-N' is specified we really should not write anything to the
> device, neither we should attempt to discard the device.
> 
> This commit fixes xfs_mkfs to not attempt to discard the device in the
> case user specified '-N' flag.
> 
> Signed-off-by: Lukas Czerner <lczerner at redhat.com>

Wow.  That's bad.

Reviewed-by: Ben Myers <bpm at sgi.com>

Applied.  Thanks Lukas!



More information about the xfs mailing list