diff options
author | Jan Kara <jack@suse.cz> | 2016-03-08 23:39:21 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-03-08 23:39:21 -0500 |
commit | 600be30a8bc1d405f791e01dbef84679e14529b8 (patch) | |
tree | 80294bd12feff70f252d2de1810e6fd713facc39 /fs/ext4/page-io.c | |
parent | 109811c20fb8ec46e2ed01750214a32a9163d164 (diff) | |
download | linux-600be30a8bc1d405f791e01dbef84679e14529b8.tar.gz linux-600be30a8bc1d405f791e01dbef84679e14529b8.tar.bz2 linux-600be30a8bc1d405f791e01dbef84679e14529b8.zip |
ext4: remove i_ioend_count
Remove counter of pending io ends as it is unused.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r-- | fs/ext4/page-io.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 090b3498638e..349d7aa04fe7 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -128,9 +128,6 @@ static void ext4_release_io_end(ext4_io_end_t *io_end) BUG_ON(io_end->flag & EXT4_IO_END_UNWRITTEN); WARN_ON(io_end->handle); - if (atomic_dec_and_test(&EXT4_I(io_end->inode)->i_ioend_count)) - wake_up_all(ext4_ioend_wq(io_end->inode)); - for (bio = io_end->bio; bio; bio = next_bio) { next_bio = bio->bi_private; ext4_finish_bio(bio); @@ -265,7 +262,6 @@ ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags) { ext4_io_end_t *io = kmem_cache_zalloc(io_end_cachep, flags); if (io) { - atomic_inc(&EXT4_I(inode)->i_ioend_count); io->inode = inode; INIT_LIST_HEAD(&io->list); atomic_set(&io->count, 1); |