| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/2] xfs: xfs_readsb needs to check for magic numbers |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 27 May 2014 03:40:34 -0700 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1401143214-9181-3-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1401143214-9181-1-git-send-email-david@xxxxxxxxxxxxx> <1401143214-9181-3-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, May 27, 2014 at 08:26:54AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
>
> 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.
Looks good,
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/2] xfs: block allocation work needs to be kswapd aware, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH v2 1/3] xfs: add scan owner field to xfs_eofblocks, Christoph Hellwig |
| Previous by Thread: | [PATCH 2/2] xfs: xfs_readsb needs to check for magic numbers, Dave Chinner |
| Next by Thread: | [PATCH 1/2] xfs: block allocation work needs to be kswapd aware, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |