[Bug 1025094] New: (testing) Btrfs: fix warning of bytes_may_use
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1025094
Bug ID: 1025094
Summary: (testing) Btrfs: fix warning of bytes_may_use
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.1
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Kernel
Assignee: kernel-maintainers@forge.provo.novell.com
Reporter: jeffm@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
While running generic/019, dmesg got several warnings from
btrfs_free_reserved_data_space().
Test generic/019 produces some disk failures so sumbit dio will get errors,
in which case, btrfs_direct_IO() goes to the error handling and free
bytes_may_use, but the problem is that bytes_may_use has been free'd
during get_block().
This adds a runtime flag to show if we've gone through get_block(), if so,
don't do the cleanup work.
Signed-off-by: Liu Bo
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1025094
http://bugzilla.suse.com/show_bug.cgi?id=1025094#c1
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com