Re: [PATCH 20/25] libxfs: remove dangerous casting between xfs_buf and cache_node

Christoph Hellwig
2020-02-25T17:52:17Z

> #define XFS_BUF_SET_PRIORITY(bp,pri) cache_node_set_priority( \
> libxfs_bcache, \
> - (struct cache_node *)(bp), \
> + &(bp)->b_node, \
> (pri))

I think this one would benefit from being turned into an inline
function..

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>