diff options
author | Brian Foster <bfoster@redhat.com> | 2023-12-19 17:02:15 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:41 +0300 |
commit | d8d819580ae02ba37388769b72f86cb4432a1cb9 (patch) | |
tree | b0a021228cd7587c57ceb28cc68ca64d82d80f3d /MAINTAINERS | |
parent | a7dc10ce689a6224c1601d5d2e4ca57dd8cce9f6 (diff) | |
download | linux-d8d819580ae02ba37388769b72f86cb4432a1cb9.tar.xz |
bcachefs: clean up some dead fallocate code
The have_reservation local variable in bch2_extent_fallocate() is
initialized to false and set to true further down in the function.
Between this two points, one branch of code checks for negative
value and one for positive, and nothing ever checks the variable
after it is set to true. Clean up some of the unnecessary logic and
code.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions