aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/delalloc-space.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2024-03-07 12:53:15 +0100
committerMiquel Raynal <[email protected]>2024-03-15 00:04:51 +0100
commit4120aa0e3961f68f1f8cfe6b4c3c809ffea31fdc (patch)
tree2fa58d86bdfd307cdb4abc69cc923a30298710b1 /fs/btrfs/delalloc-space.c
parent78ffbefba8d7822b232585570b293de5bc397da6 (diff)
mtd: rawnand: Ensure continuous reads are well disabled
The cont_read.ongoing flag should only be enabled at the beginning of a read operation, and also disabled at its end, so we never end up triggering nasty side effects outside of this scope. The mtd core being highly serialized, we should not be bothered by parallel accesses anyway. In case we reach the end of a read operation and the boolean was not properly disabled, it's a bug, but it's totally manageable. So warn, and then fix the boolean state. Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'fs/btrfs/delalloc-space.c')
0 files changed, 0 insertions, 0 deletions