ext4: dirty page has always buffers attached
authorJan Kara <jack@suse.cz>
Mon, 28 Jan 2013 17:55:08 +0000 (12:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 28 Jan 2013 17:55:08 +0000 (12:55 -0500)
commitf8bec37037aceb126d695c021cf4dc93b7238d47
treed0489b1d92fa602da3ef15014370ec568e925c15
parent002bd7fa3ac7441bdb36df67b2c64bc8c1be5360
ext4: dirty page has always buffers attached

ext4_writepage(), write_cache_pages_da(), and mpage_da_submit_io()
doesn't have to deal with the case when page doesn't have buffers. We
attach buffers to a page in ->write_begin() and ->page_mkwrite() which
covers all places where a page can become dirty.

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