summary refs log tree commit diff
path: root/fs/btrfs/rcu-string.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2014-06-04 16:06:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:53:57 -0700
commitff9e43eb4f2eb78067d7b783cc893773b3e129b1 (patch)
treefa4194211a8a0523d5123507556b1855644a0a01 /fs/btrfs/rcu-string.h
parent38f7ea5a082bbde9e64b7ece389f20e71a9806f4 (diff)
downloadlinux-ff9e43eb4f2eb78067d7b783cc893773b3e129b1.tar.gz
thp: consolidate assert checks in __split_huge_page()
It doesn't make sense to have two assert checks for each invariant: one
for printing and one for BUG().

Let's trigger BUG() if we print error message.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/btrfs/rcu-string.h')
0 files changed, 0 insertions, 0 deletions