commit | 1f94533d9cd75f6d2826018d54a971b9cc085992 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Sep 30 22:57:41 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Sep 30 22:57:41 2009 -0400 |
tree | 16c85061eabfcdece2487909bc08c45d2c01d84f | |
parent | c1fccc0696bcaff6008c11865091f5ec4b0937ab [diff] |
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: "Theodore Ts'o" <tytso@mit.edu>