summaryrefslogtreecommitdiff
path: root/fs/bcachefs/reflink.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-10-19 17:30:16 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2021-10-20 12:06:20 -0400
commitf37bb418d585ff9cc0a428d9ac1461b56a6848c6 (patch)
treeffc6d848542d9908403164a8519bd99905fe22f4 /fs/bcachefs/reflink.c
parentdecd5e7ab6d4f5322a1a1e02296fc2b01135ec8e (diff)
bcachefs: New on disk format to fix reflink_p pointers
We had a bug where reflink_p pointers weren't being initialized to 0, and when we started using the second word, things broke badly. This patch revs the on disk format version and adds cleanup code to zero out the second word of reflink_p pointers before we start using it. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/reflink.c')
0 files changed, 0 insertions, 0 deletions