summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-01-17 17:12:45 +0300
committerDavid Sterba <dsterba@suse.com>2020-01-23 19:24:36 +0300
commit889bfa39086e86b52fcfaa04d72c95eaeb12f9a5 (patch)
tree63acd99db84bd4543bc0a6c64f6c30a564811fa2 /tools/lib/bpf/bpf_prog_linfo.c
parent668e48af7a94985be7cf3b97a860d9819271d8bf (diff)
downloadlinux-889bfa39086e86b52fcfaa04d72c95eaeb12f9a5.tar.xz
btrfs: drop log root for dropped roots
If we fsync on a subvolume and create a log root for that volume, and then later delete that subvolume we'll never clean up its log root. Fix this by making switch_commit_roots free the log for any dropped roots we encounter. The extra churn is because we need a btrfs_trans_handle, not the btrfs_transaction. CC: stable@vger.kernel.org # 5.4+ Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions