]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: split up xfs_buf_allocate_memory
authorDave Chinner <dchinner@redhat.com>
Tue, 1 Jun 2021 03:40:02 +0000 (13:40 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 1 Jun 2021 03:40:02 +0000 (13:40 +1000)
commit913446de185fde4eaf21002e177597134330e0b7
treec4af374500a5bf9fe43df3459651e7b1010e7a13
parentb55df23c2e521bfb647a826ad611b2a2f7954c63
xfs: split up xfs_buf_allocate_memory

Based on a patch from Christoph Hellwig.

This splits out the heap allocation and page allocation portions of
the buffer memory allocation into two separate helper functions.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c