aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorFedor Pchelkin <[email protected]>2024-01-03 13:31:27 +0300
committerDavid Sterba <[email protected]>2024-01-12 01:59:49 +0100
commitf03e274a8b29d1d1c1bbd7f764766cb5ca537ab7 (patch)
treedd013a8d4e196c5d844d45762fd59ca7df70fb01 /net/unix/sysctl_net_unix.c
parent6ff09b6b8c2fb6b3edda4ffaa173153a40653067 (diff)
btrfs: ref-verify: free ref cache before clearing mount opt
As clearing REF_VERIFY mount option indicates there were some errors in a ref-verify process, a ref cache is not relevant anymore and should be freed. btrfs_free_ref_cache() requires REF_VERIFY option being set so call it just before clearing the mount option. Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Reported-by: [email protected] Fixes: fd708b81d972 ("Btrfs: add a extent ref verify tool") CC: [email protected] # 5.4+ Closes: https://lore.kernel.org/lkml/[email protected]/ Reported-by: [email protected] Closes: https://lore.kernel.org/lkml/[email protected]/ Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Fedor Pchelkin <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions