summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-03-09 05:39:21 +0100
committerTheodore Ts'o <tytso@mit.edu>2016-03-09 05:39:21 +0100
commit600be30a8bc1d405f791e01dbef84679e14529b8 (patch)
tree80294bd12feff70f252d2de1810e6fd713facc39 /fs/ext4/ext4.h
parentext4: simplify io_end handling for AIO DIO (diff)
downloadlinux-600be30a8bc1d405f791e01dbef84679e14529b8.tar.xz
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/ext4.h')
-rw-r--r--fs/ext4/ext4.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 9f3156c38b16..70b8e0409566 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1024,13 +1024,8 @@ struct ext4_inode_info {
* transaction reserved
*/
struct list_head i_rsv_conversion_list;
- /*
- * Completed IOs that need unwritten extents handling and don't have
- * transaction reserved
- */
- atomic_t i_ioend_count; /* Number of outstanding io_end structs */
- atomic_t i_unwritten; /* Nr. of inflight conversions pending */
struct work_struct i_rsv_conversion_work;
+ atomic_t i_unwritten; /* Nr. of inflight conversions pending */
spinlock_t i_block_reservation_lock;