diff options
author | Dave Chinner <[email protected]> | 2014-06-06 16:00:43 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2014-06-06 16:00:43 +1000 |
commit | 556b8883cfac3d3203557e161ea8005f8b5479b2 (patch) | |
tree | d928587238b976cd90ef90494769eab3af6f95c4 /include/linux/fpga/fpga-mgr.h | |
parent | 1f6d64829db78a7e1d63e15c9f48f0a5d2b5a679 (diff) |
xfs: xfs_readsb needs to check for magic numbers
Commit daba542 ("xfs: skip verification on initial "guess"
superblock read") dropped the use of a verifier for the initial
superblock read so we can probe the sector size of the filesystem
stored in the superblock. It, however, now fails to validate that
what was read initially is actually an XFS superblock and hence will
fail the sector size check and return ENOSYS.
This causes probe-based mounts to fail because it expects XFS to
return EINVAL when it doesn't recognise the superblock format.
cc: <[email protected]>
Reported-by: Plamen Petrov <[email protected]>
Tested-by: Plamen Petrov <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions