diff options
author | Christoph Hellwig <[email protected]> | 2015-01-18 16:16:30 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-02-05 09:30:39 -0700 |
commit | 1dfa0f68c040080c5fefa7211b4ec34d202f8570 (patch) | |
tree | 572a04efee9750a118a43579fef0381dd9997461 /fs/jbd/commit.c | |
parent | ddad8dd0a162fde61646a627a3017c258601dc8a (diff) |
block: add a helper to free bio bounce buffer pages
The code sniplet to walk all bio_vecs and free their pages is opencoded in
way to many places, so factor it into a helper. Also convert the slightly
more complex cases in bio_kern_endio and __bio_copy_iov where we break
the freeing from an existing loop into a separate one.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions