1 ext4: remove unused function ext4_aligned_io()
3 From: Ross Zwisler <ross.zwisler@linux.intel.com>
5 The last user of ext4_aligned_io() was the DAX path in
6 ext4_direct_IO_write(). This usage was removed by Jan Kara's patch
7 entitled "ext4: Rip out DAX handling from direct IO path".
9 Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
12 fs/ext4/ext4.h | 7 -------
13 1 file changed, 7 deletions(-)
15 diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
16 index 8b76311..8a8a9b2 100644
19 @@ -3262,13 +3262,6 @@ static inline void ext4_clear_io_unwritten_flag(ext4_io_end_t *io_end)
23 -static inline bool ext4_aligned_io(struct inode *inode, loff_t off, loff_t len)
25 - int blksize = 1 << inode->i_blkbits;
27 - return IS_ALIGNED(off, blksize) && IS_ALIGNED(len, blksize);
30 extern struct iomap_ops ext4_iomap_ops;
32 #endif /* __KERNEL__ */