Skip to content

fs: clear a UBSAN shift-out-of-bounds warning

Zhen Lei linux-btrfs linux-fsdevel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 5 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

Updated the commit message of patch 2/2 based on Alexander Viro's suggestion.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAXfs/btrfs/ordered-data.c+3 -30 replies
2/2fs: clear a UBSAN shift-out-of-bounds warninginclude/linux/fs.h+2 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid SterbaEric Biggers
SeriesR-b
1/2A-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] fs: clear a UBSAN shift-out-of-bounds warning

v2 --> v3:
Updated the commit message of patch 2/2 based on Alexander Viro's suggestion.

v1 -- > v2:
1. Replace INT_LIMIT(loff_t) with OFFSET_MAX in btrfs.
2. Replace INT_LIMIT() with type_max().

Zhen Lei (2):
btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAX
fs: clear a UBSAN shift-out-of-bounds warning

 fs/btrfs/ordered-data.c | 6 +++---
 include/linux/fs.h      | 5 ++---
 2 files changed, 5 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1