Robert Wing 0c5a59252c fsck_ffs: fix background fsck in preen mode
Background checks are only allowed for mounted filesystems - don't try
to open the device for writing when performing a background check.

While here, remove a debugging printf that's commented out.

PR:             256746
Fixes:          5cc52631b3b88dfc36d8049dc8bece8573c5f9af
Reviewed by:	mckusick
MFC After:      1 week
Differential Revision:	https://reviews.freebsd.org/D30880
2021-07-11 12:47:27 -08:00
..
2019-08-13 20:06:55 +00:00
2019-11-21 01:24:49 +00:00
2019-11-21 01:24:49 +00:00
2019-08-13 20:06:55 +00:00
2020-10-09 14:03:45 +00:00
2021-04-06 16:32:57 -07:00
2021-03-28 14:45:05 -04:00
2021-07-06 11:53:10 -03:00
2021-02-11 06:03:53 +01:00
2020-10-09 14:03:45 +00:00
2021-04-17 23:16:17 +02:00
2020-11-26 04:29:30 +00:00
2019-12-11 17:37:53 +00:00
2020-07-05 13:08:17 +00:00