Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ext4: BUG_ON fix: check if page has buffers before calling page_buffers()



We need to make check if a page does not have buffes by checking
page_has_buffers(page) before calling page_buffers(page) in
ext4_writepage().  Otherwise page_buffers() could throw a BUG_ON.

Thanks also to Markus Trippelsdorf and Avinash Kurup who also reported
the problem.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Reported-by: default avatarSedat Dilek <sedat.dilek@googlemail.com>
Tested-by: default avatarSedat Dilek <sedat.dilek@googlemail.com>
parent 81280572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment