summaryrefslogtreecommitdiff
path: root/fs/ext4/page-io.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2016-03-07 09:29:48 +1100
committerDave Chinner <david@fromorbit.com>2016-03-07 09:29:48 +1100
commitacb3e26fc3652d43cb5cf07c311ed55f3aecf40e (patch)
treefb8d84b0bcfdd194544a50ccf87caf0ab1428454 /fs/ext4/page-io.c
parent1b186d25b0dca16671fe9c2c86330a609cf55802 (diff)
parent74c66bcb7eda551f3b8588659c58fe29184af903 (diff)
Merge branch 'xfs-dio-fix-4.6' into for-next
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r--fs/ext4/page-io.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 090b3498638e..f49a87c4fb63 100644
--- a/fs/ext4/page-io.c
+++ b/fs/ext4/page-io.c
@@ -139,16 +139,6 @@ static void ext4_release_io_end(ext4_io_end_t *io_end)
kmem_cache_free(io_end_cachep, io_end);
}
-static void ext4_clear_io_unwritten_flag(ext4_io_end_t *io_end)
-{
- struct inode *inode = io_end->inode;
-
- io_end->flag &= ~EXT4_IO_END_UNWRITTEN;
- /* Wake up anyone waiting on unwritten extent conversion */
- if (atomic_dec_and_test(&EXT4_I(inode)->i_unwritten))
- wake_up_all(ext4_ioend_wq(inode));
-}
-
/*
* Check a range of space and convert unwritten extents to written. Note that
* we are protected from truncate touching same part of extent tree by the