]> git.baikalelectronics.ru Git - kernel.git/commit
buffer: eliminate the need to call free_more_memory() in __getblk_slow()
authorJens Axboe <axboe@kernel.dk>
Wed, 27 Sep 2017 12:08:57 +0000 (06:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Oct 2017 14:38:17 +0000 (08:38 -0600)
commitd82643fbe0bd84bba19caf31370fa63572ffda40
tree9fbe2021803a2b70af2d8183a4330236aeccc4e1
parente52bbe9ef582c93ec7944a7d393e10c78670fe13
buffer: eliminate the need to call free_more_memory() in __getblk_slow()

Since the previous commit removed any case where grow_buffers()
would return failure due to memory allocations, we can safely
remove the case where we have to call free_more_memory() in
this function.

Since this is also the last user of free_more_memory(), kill
it off completely.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/buffer.c