]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: mballoc: refactor ext4_mb_discard_preallocations()
authorRitesh Harjani <riteshh@linux.ibm.com>
Wed, 20 May 2020 06:40:33 +0000 (12:10 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:53 +0000 (23:16 -0400)
commit6861a4954d231828a7d46bf56aca1d5638f1dcc6
tree2660554c1010d3fb9af7bbd6bc66bcfe8e86f397
parentbcd0d6b044ff55826e0906876e82b46583edb016
ext4: mballoc: refactor ext4_mb_discard_preallocations()

Implement ext4_mb_discard_preallocations_should_retry()
which we will need in later patches to add more logic
like check for sequence number match to see if we should
retry for block allocation or not.

There should be no functionality change in this patch.

Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/1cfae0098d2aa9afbeb59331401258182868c8f2.1589955723.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c