aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2022-05-30 00:56:33 +0000
committerDave Chinner <[email protected]>2022-05-30 00:56:33 +0000
commit6f5097e3367a7c0751e165e4c15bc30511a4ba38 (patch)
treefd572f54c58f1b428e07b046936f09b3ce772354 /tools/bpf/bpftool/prog.c
parentxfs: don't leak btree cursor when insrec fails after a split (diff)
downloadkernel-6f5097e3367a7c0751e165e4c15bc30511a4ba38.tar.gz
kernel-6f5097e3367a7c0751e165e4c15bc30511a4ba38.zip
xfs: fix xfs_ifree() error handling to not leak perag ref
For some reason commit 9a5280b312e2e ("xfs: reorder iunlink remove operation in xfs_ifree") replaced a jump to the exit path in the event of an xfs_difree() error with a direct return, which skips releasing the perag reference acquired at the top of the function. Restore the original code to drop the reference on error. Fixes: 9a5280b312e2e ("xfs: reorder iunlink remove operation in xfs_ifree") Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions