]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Btrfs: make BUG_ON() in add_pinned_bytes() an ASSERT()
authorOmar Sandoval <osandov@fb.com>
Tue, 6 Jun 2017 23:45:27 +0000 (16:45 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 29 Jun 2017 18:17:01 +0000 (20:17 +0200)
commit55e8196a57cfe603ce3480a66c15dde3a13fe218
tree3b49f0e2d0023e47743c87244cff630c0dfe0e3c
parent0d9f824df35d11215016785213f9c0fd06a72fc0
Btrfs: make BUG_ON() in add_pinned_bytes() an ASSERT()

The value of flags is one of DATA/METADATA/SYSTEM, they must exist at
when add_pinned_bytes is called.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ added changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c