]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: warn if leaking delayed_nodes in btrfs_put_root()
authorLeo Martins <loemra.dev@gmail.com>
Wed, 28 May 2025 00:04:22 +0000 (17:04 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 19 Jun 2025 13:18:39 +0000 (15:18 +0200)
commit186b9dc3c302ad706b3f23c857eb128165f6b484
treea8b8f8208d934df2558fc8b51fdfaceb7e022300
parentdd276214e439db08f444fd3e07e9fe4c9e0ca210
btrfs: warn if leaking delayed_nodes in btrfs_put_root()

Add a warning for leaked delayed_nodes when putting a root. We currently
do this for inodes, but not delayed_nodes.

Signed-off-by: Leo Martins <loemra.dev@gmail.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
[ Remove the changelog from the commit message. ]
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c