]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: warn when page is dirtied without buffers
authorJan Kara <jack@suse.cz>
Thu, 1 Dec 2016 16:46:40 +0000 (11:46 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Dec 2016 16:46:40 +0000 (11:46 -0500)
commitaf468534173315e1c19ad95c7be32780bfdea611
tree9ef8f62d5450572910d93a735aa2f7f5ea56be34
parent72ff97d0b04eb6957ee13c54ab11eddeca06d258
ext4: warn when page is dirtied without buffers

Warn when a page is dirtied without buffers (as that will likely lead to
a crash in ext4_writepages()) or when it gets newly dirtied without the
page being locked (as there is nothing that prevents buffers to get
stripped just before calling set_page_dirty() under memory pressure).

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c