diff options
author | Ruediger Meier | 2016-03-01 21:03:13 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-03-03 09:25:10 +0100 |
commit | 7252874a48e3cc7382d579254a19fc4c309442c1 (patch) | |
tree | 8d896cde6be586d9fc5462924ab508aeaafd2cec /tests/expected/minix | |
parent | fsck.minix: fix v3 version offset (diff) | |
download | kernel-qcow2-util-linux-7252874a48e3cc7382d579254a19fc4c309442c1.tar.gz kernel-qcow2-util-linux-7252874a48e3cc7382d579254a19fc4c309442c1.tar.xz kernel-qcow2-util-linux-7252874a48e3cc7382d579254a19fc4c309442c1.zip |
mkfs.minix: fix v2/v3 .badblocks inode number for big endian
For minix v2/v3 on big endian systems the inode number of the unwanted
".badblocks" file was not set to zero. This was introduced when v3 was
added in a2657ae3.
Actually it did not seem to cause any problems but since we zero it out
at all we should do it correctly. Now we zero out the whole directory
entry (inclusive ".badblocks" file name, also for v1). Unfortunately we
have to update the test data checksums.
CC: Davidlohr Bueso <davidlohr@hp.com>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/expected/minix')
-rw-r--r-- | tests/expected/minix/fsck-images-check-blocks | 2 | ||||
-rw-r--r-- | tests/expected/minix/fsck-images-v1c14 | 3 | ||||
-rw-r--r-- | tests/expected/minix/fsck-images-v1c30 | 2 | ||||
-rw-r--r-- | tests/expected/minix/fsck-images-v2c14 | 3 | ||||
-rw-r--r-- | tests/expected/minix/fsck-images-v2c30 | 2 | ||||
-rw-r--r-- | tests/expected/minix/fsck-images-v3c60 | 3 |
6 files changed, 2 insertions, 13 deletions
diff --git a/tests/expected/minix/fsck-images-check-blocks b/tests/expected/minix/fsck-images-check-blocks index 883d1e81d..fce90fd89 100644 --- a/tests/expected/minix/fsck-images-check-blocks +++ b/tests/expected/minix/fsck-images-check-blocks @@ -25,7 +25,5 @@ fsck return value: 0 00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00001440 00 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....| -00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00004000 diff --git a/tests/expected/minix/fsck-images-v1c14 b/tests/expected/minix/fsck-images-v1c14 index b3301d983..75e3310f2 100644 --- a/tests/expected/minix/fsck-images-v1c14 +++ b/tests/expected/minix/fsck-images-v1c14 @@ -23,7 +23,6 @@ fsck return value: 0 * 00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001410 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00001420 00 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....| -00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00004000 diff --git a/tests/expected/minix/fsck-images-v1c30 b/tests/expected/minix/fsck-images-v1c30 index 883d1e81d..fce90fd89 100644 --- a/tests/expected/minix/fsck-images-v1c30 +++ b/tests/expected/minix/fsck-images-v1c30 @@ -25,7 +25,5 @@ fsck return value: 0 00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00001440 00 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....| -00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00004000 diff --git a/tests/expected/minix/fsck-images-v2c14 b/tests/expected/minix/fsck-images-v2c14 index 5e155b788..e8bc4e35e 100644 --- a/tests/expected/minix/fsck-images-v2c14 +++ b/tests/expected/minix/fsck-images-v2c14 @@ -24,7 +24,6 @@ fsck return value: 0 * 00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001410 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00001420 00 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....| -00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00004000 diff --git a/tests/expected/minix/fsck-images-v2c30 b/tests/expected/minix/fsck-images-v2c30 index 5f35ed78f..0066e4948 100644 --- a/tests/expected/minix/fsck-images-v2c30 +++ b/tests/expected/minix/fsck-images-v2c30 @@ -26,7 +26,5 @@ fsck return value: 0 00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00001440 00 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....| -00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00004000 diff --git a/tests/expected/minix/fsck-images-v3c60 b/tests/expected/minix/fsck-images-v3c60 index be2b54d0a..89ac9c99d 100644 --- a/tests/expected/minix/fsck-images-v3c60 +++ b/tests/expected/minix/fsck-images-v3c60 @@ -28,7 +28,4 @@ fsck return value: 0 00001440 01 00 00 00 2e 2e 00 00 00 00 00 00 00 00 00 00 |................| 00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * -00001480 00 00 00 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 |.....badblocks..| -00001490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -* 00004000 |