]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ext4: move work from io_end to inode
authorJan Kara <jack@suse.cz>
Mon, 28 Jan 2013 14:43:46 +0000 (09:43 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 28 Jan 2013 14:43:46 +0000 (09:43 -0500)
commit84c17543ab5685d950da73209df0ecda26e72d3b
treec7f2025fa8bcc209168d171c825060ff95a2be97
parentfe089c77f1466c74f0f19ad2475b1630216b8b19
ext4: move work from io_end to inode

It does not make much sense to have struct work in ext4_io_end_t
because we always use it for only one ext4_io_end_t per inode (the
first one in the i_completed_io list). So just move the structure to
inode itself.  This also allows for a small simplification in
processing io_end structures.

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