summaryrefslogtreecommitdiff
path: root/fs/bcachefs/journal.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-17 16:26:54 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-20 01:27:23 +0300
commit9e7cfb35e2668e542c333ed3ec4b0a951dd332ee (patch)
treed7c5f02d40f9822fa84d3d4645a6907db4aa60af /fs/bcachefs/journal.c
parente3fd3faa453ce4cf4b6a0f3e29ee77d5d1b243a8 (diff)
downloadlinux-9e7cfb35e2668e542c333ed3ec4b0a951dd332ee.tar.xz
bcachefs: Check for invalid btree IDs
We can only handle btree IDs up to 62, since the btree id (plus the type for interior btree nodes) has to fit ito a 64 bit bitmask - check for invalid ones to avoid invalid shifts later. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal.c')
0 files changed, 0 insertions, 0 deletions