bcachefs: Fix null ptr deref in bch2_snapshot_tree_oldest_subvol()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Apr 2025 02:38:14 +0000 (22:38 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Apr 2025 23:41:38 +0000 (19:41 -0400)
commitaa6a591f0fd740e27c54110f8425b53133ad4165
treedacf5fba06ba554015c301948be669df101d2f4c
parent4c0d2c67ac6d54ba71bb3438147b144c25fdee2c
bcachefs: Fix null ptr deref in bch2_snapshot_tree_oldest_subvol()

Reported-by: syzbot+baee8591f336cab0958b@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/snapshot.c