Christoph Hellwig 7c7ba21863 xfs: refactor xfs_inode_verify_forks
The split between xfs_inode_verify_forks and the two helpers
implementing the actual functionality is a little strange.  Reshuffle
it so that xfs_inode_verify_forks verifies if the data and attr forks
are actually in local format and only call the low-level helpers if
that is the case.  Handle the actual error reporting in the low-level
handlers to streamline the caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2020-05-19 09:40:57 -07:00
..
2019-11-07 13:00:53 -08:00
2020-03-11 09:11:39 -07:00
2020-03-02 20:55:53 -08:00
2020-03-02 20:55:55 -08:00
2019-11-07 13:00:53 -08:00
2020-05-19 09:40:57 -07:00
2020-05-19 09:40:57 -07:00
2019-06-28 19:30:43 -07:00