commit | 6b8be16e3ac9c5fc350ea25d864df7bb6e2f6f4c | [log] [tgz] |
---|---|---|
author | Sergey Vlasov <vsu@altlinux.ru> | Tue Apr 10 11:59:46 2007 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Apr 10 11:59:46 2007 -0400 |
tree | b9631a4087d97856f0ddd8d33b2e4861bec56b91 | |
parent | 62fc8cef4532570f07c4c5aa522f5a31f5b99d3a [diff] |
blkid: Fix MD 0.90 superblock detection on little endian systems MD 0.90 superblock format is host endian - need to check for bith big endian and little endian magic. Without this change MD components created on little endian systems were not detected as such, which could then lead to false positives when detecting filesystems. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>