aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJonathan Derrick <[email protected]>2023-04-25 01:14:38 +0000
committerSong Liu <[email protected]>2023-04-28 16:21:06 +0000
commitb1211978ecf19bceb63a04f53fea4b5d73832a4a (patch)
tree4d66dbd9e45ff52b98165fa378f141f7fab44bad /fs/fs-writeback.c
parentmd/raid5: Improve performance for sequential IO (diff)
downloadkernel-b1211978ecf19bceb63a04f53fea4b5d73832a4a.tar.gz
kernel-b1211978ecf19bceb63a04f53fea4b5d73832a4a.zip
md: Fix bitmap offset type in sb writer
Bitmap offset is allowed to be negative, indicating that bitmap precedes metadata. Change the type back from sector_t to loff_t to satisfy conditionals and calculations. Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/linux-raid/CAPhsuW6HuaUJ5WcyPajVgUfkQFYp2D_cy1g6qxN4CU_gP2=z7g@mail.gmail.com/ Fixes: 10172f200b67 ("md: Fix types in sb writer") Signed-off-by: Jonathan Derrick <[email protected]> Suggested-by: Yu Kuai <[email protected]> Reviewed-by: Yu Kuai <[email protected]> Signed-off-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions