> > -static inline struct xfs_buf * > -xfs_buf_find_fast( > - struct xfs_perag *pag, > - struct xfs_buf_map *map) > -{ > - struct xfs_buf *bp; > - > - bp = rhashtable_lookup(&pag->pag_buf_hash, map, xfs_buf_hash_params); > - if (!bp) > - return NULL; > - atomic_inc(&bp->b_hold); > - return bp; > -} > -static int > -xfs_buf_find_insert( > - struct xfs_buftarg *btp, > - struct xfs_perag *pag, Adding the function just in the last patch and moving them around here and slighty changing seems a little counter productive. I think just merging the two might actually end up with a result that is easier to review.