diff options
author | Omar Sandoval <osandov@fb.com> | 2017-06-06 16:45:27 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-29 20:17:01 +0200 |
commit | 55e8196a57cfe603ce3480a66c15dde3a13fe218 (patch) | |
tree | 3b49f0e2d0023e47743c87244cff630c0dfe0e3c /lib/scatterlist.c | |
parent | 0d9f824df35d11215016785213f9c0fd06a72fc0 (diff) | |
download | linux-stable-55e8196a57cfe603ce3480a66c15dde3a13fe218.tar.gz linux-stable-55e8196a57cfe603ce3480a66c15dde3a13fe218.tar.bz2 linux-stable-55e8196a57cfe603ce3480a66c15dde3a13fe218.zip |
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>
Diffstat (limited to 'lib/scatterlist.c')
0 files changed, 0 insertions, 0 deletions