summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-03-08 23:39:21 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-03-08 23:39:21 -0500
commit600be30a8bc1d405f791e01dbef84679e14529b8 (patch)
tree80294bd12feff70f252d2de1810e6fd713facc39 /fs/ext4/inode.c
parent109811c20fb8ec46e2ed01750214a32a9163d164 (diff)
downloadblackbird-op-linux-600be30a8bc1d405f791e01dbef84679e14529b8.tar.gz
blackbird-op-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/inode.c')
-rw-r--r--fs/ext4/inode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index c67c16e59a71..971892d7c213 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -216,7 +216,6 @@ void ext4_evict_inode(struct inode *inode)
}
truncate_inode_pages_final(&inode->i_data);
- WARN_ON(atomic_read(&EXT4_I(inode)->i_ioend_count));
goto no_delete;
}
@@ -228,8 +227,6 @@ void ext4_evict_inode(struct inode *inode)
ext4_begin_ordered_truncate(inode, 0);
truncate_inode_pages_final(&inode->i_data);
- WARN_ON(atomic_read(&EXT4_I(inode)->i_ioend_count));
-
/*
* Protect us against freezing - iput() caller didn't have to have any
* protection against it
OpenPOWER on IntegriCloud