OSDN Git Service

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)
commitbc48f001de12225b6430a243504aa60b5ae8a91a
tree9fbe2021803a2b70af2d8183a4330236aeccc4e1
parent94dc24c0c59a224a093f110060d01c2c620f275a
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