@@ -17,13 +17,10 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <stdbool.h>
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
-#include <errno.h>
#include <assert.h>
-#include <inttypes.h>
#include <pthread.h>
#include "platform_defs.h"
#include "avl64.h"
@@ -17,14 +17,11 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <pthread.h>
-#include <stdbool.h>
#include <sys/statvfs.h>
#include <syslog.h>
#include "platform_defs.h"
-#include "xfs.h"
-#include "xfs_fs.h"
#include "path.h"
#include "xfs_scrub.h"
#include "common.h"
@@ -17,9 +17,9 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
-#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include <pthread.h>
@@ -17,18 +17,13 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
-#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <sys/statvfs.h>
-#include <sys/vfs.h>
-#include <linux/fs.h>
#ifdef HAVE_SG_IO
# include <scsi/sg.h>
#endif
@@ -37,9 +32,7 @@
#endif
#include "platform_defs.h"
#include "libfrog.h"
-#include "xfs.h"
#include "path.h"
-#include "xfs_fs.h"
#include "xfs_scrub.h"
#include "common.h"
#include "disk.h"
@@ -17,17 +17,13 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <stdbool.h>
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
-#include "xfs.h"
-#include "xfs_fs.h"
#include "path.h"
#include "xfs_scrub.h"
#include "common.h"
@@ -17,15 +17,12 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <stdbool.h>
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
#include <sys/statvfs.h>
#include "platform_defs.h"
-#include "xfs.h"
#include "xfs_arch.h"
-#include "xfs_fs.h"
#include "xfs_format.h"
#include "path.h"
#include "workqueue.h"
@@ -17,14 +17,12 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <stdbool.h>
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
#include <pthread.h>
#include <sys/statvfs.h>
#include "platform_defs.h"
-#include "xfs.h"
#include "xfs_arch.h"
#include "xfs_format.h"
#include "handle.h"
@@ -17,30 +17,22 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <mntent.h>
+#include "xfs.h"
#include <unistd.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/statvfs.h>
-#include <sys/vfs.h>
#include <fcntl.h>
#include <dirent.h>
#include <stdint.h>
-#include <stdbool.h>
#include <pthread.h>
-#include <errno.h>
-#include <linux/fs.h>
#include "libfrog.h"
#include "workqueue.h"
#include "input.h"
#include "path.h"
#include "handle.h"
#include "bitops.h"
-#include "xfs_arch.h"
-#include "xfs_format.h"
#include "avl64.h"
#include "list.h"
#include "xfs_scrub.h"
@@ -17,13 +17,10 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
-#include "xfs.h"
#include "list.h"
#include "path.h"
#include "workqueue.h"
@@ -17,13 +17,10 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
-#include "xfs.h"
#include "list.h"
#include "path.h"
#include "workqueue.h"
@@ -17,15 +17,11 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <dirent.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
-#include "xfs.h"
-#include "xfs_fs.h"
#include "list.h"
#include "path.h"
#include "workqueue.h"
@@ -17,17 +17,14 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <dirent.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
#ifdef HAVE_LIBATTR
# include <attr/attributes.h>
#endif
-#include "xfs.h"
#include "handle.h"
#include "list.h"
#include "path.h"
@@ -17,13 +17,10 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <dirent.h>
#include <sys/statvfs.h>
-#include "xfs.h"
-#include "xfs_fs.h"
#include "handle.h"
#include "path.h"
#include "ptvar.h"
@@ -17,13 +17,10 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <sys/statvfs.h>
-#include "xfs.h"
-#include "xfs_fs.h"
#include "path.h"
#include "ptvar.h"
#include "xfs_scrub.h"
@@ -17,13 +17,11 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "libxfs.h"
-#include <stdio.h>
+#include "xfs.h"
#include <dirent.h>
#include <pthread.h>
#include <sys/statvfs.h>
#include <time.h>
-#include "../repair/threads.h"
#include "path.h"
#include "disk.h"
#include "read_verify.h"
@@ -17,15 +17,12 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <sys/statvfs.h>
#include "workqueue.h"
#include "path.h"
-#include "xfs.h"
-#include "xfs_fs.h"
#include "xfs_scrub.h"
#include "common.h"
#include "counter.h"
@@ -17,17 +17,13 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <stdbool.h>
+#include "xfs.h"
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
-#include "xfs.h"
-#include "xfs_fs.h"
#include "list.h"
#include "path.h"
#include "xfs_scrub.h"
@@ -17,15 +17,12 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
-#include <stdbool.h>
+#include "xfs.h"
#include <stdint.h>
#include <string.h>
#include <pthread.h>
#include <sys/statvfs.h>
#include "workqueue.h"
-#include "xfs.h"
-#include "xfs_fs.h"
#include "path.h"
#include "xfs_scrub.h"
#include "common.h"
@@ -17,17 +17,14 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <dirent.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/statvfs.h>
#include <unistr.h>
#include <uninorm.h>
-#include "xfs.h"
#include "path.h"
#include "xfs_scrub.h"
#include "common.h"
@@ -17,13 +17,11 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <stdint.h>
-#include <stdbool.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/statvfs.h>
-#include "xfs.h"
#include "handle.h"
#include "path.h"
#include "workqueue.h"
@@ -17,16 +17,13 @@
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <stdio.h>
+#include "xfs.h"
#include <pthread.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/statvfs.h>
#include "platform_defs.h"
-#include "xfs.h"
-#include "xfs_fs.h"
#include "input.h"
#include "path.h"
#include "xfs_scrub.h"