]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: tidy up discard notifications
authorEric Sandeen <sandeen@redhat.com>
Tue, 17 Dec 2019 21:52:39 +0000 (16:52 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 17 Dec 2019 21:52:39 +0000 (16:52 -0500)
commit2383d7c5cf20efcff75cb29ca3e02cfbe1bf2209
tree293c8157cd3beca96f36df7879f08f3e2075dbb1
parent7e8a6edb4d1ba0079152eb477abbbc1dfb1ebb7e
mkfs: tidy up discard notifications

Only notify user of discard operations if the first one succeeds,
and be sure to print a trailing newline if we stop early.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/xfs_mkfs.c