Skip to content
Commit 1f94533d authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: fix a BUG_ON crash by checking that page has buffers attached to it



In ext4_num_dirty_pages() we were calling page_buffers() before
checking to see if the page actually had pages attached to it; this
would cause a BUG check crash in the inline function page_buffers().

Thanks to Markus Trippelsdorf for reporting this bug.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent c1fccc06
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment