summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorRoss Zwisler <ross.zwisler@linux.intel.com>2016-11-21 11:51:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-11-21 11:51:44 -0500
commitd086630e193b5837aa3432a65cda5751aa11b425 (patch)
treec0407bcee80ee0fdfb21a7e411af3eada11ffdaa /fs/ext4/ext4.h
parentdd936e4313fa3f60abd6e67abb3cb66fc9a018d1 (diff)
downloadlinux-d086630e193b5837aa3432a65cda5751aa11b425.tar.bz2
ext4: remove unused function ext4_aligned_io()
The last user of ext4_aligned_io() was the DAX path in ext4_direct_IO_write(). This usage was removed by Jan Kara's patch entitled "ext4: Rip out DAX handling from direct IO path". Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> 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, 0 insertions, 7 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 6673e88011ec..aff204f040fc 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -3257,13 +3257,6 @@ static inline void ext4_clear_io_unwritten_flag(ext4_io_end_t *io_end)
}
}
-static inline bool ext4_aligned_io(struct inode *inode, loff_t off, loff_t len)
-{
- int blksize = 1 << inode->i_blkbits;
-
- return IS_ALIGNED(off, blksize) && IS_ALIGNED(len, blksize);
-}
-
extern struct iomap_ops ext4_iomap_ops;
#endif /* __KERNEL__ */