xfs: improve local fork verification
Call the data/attr local fork verifiers as soon as we are ready for them. This keeps them close to the code setting up the forks, and avoids a few branches later on. Also open code xfs_inode_verify_forks in the only remaining 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>
Showing
- fs/xfs/libxfs/xfs_inode_fork.c 7 additions, 1 deletionfs/xfs/libxfs/xfs_inode_fork.c
- fs/xfs/xfs_icache.c 0 additions, 6 deletionsfs/xfs/xfs_icache.c
- fs/xfs/xfs_inode.c 9 additions, 19 deletionsfs/xfs/xfs_inode.c
- fs/xfs/xfs_inode.h 0 additions, 2 deletionsfs/xfs/xfs_inode.h
- fs/xfs/xfs_inode_item_recover.c 0 additions, 5 deletionsfs/xfs/xfs_inode_item_recover.c
Loading
Please register or sign in to comment