* [PATCH] ext4: remove unused function ext4_aligned_io() [not found] <1479458830-22955-9-git-send-email-jack@suse.cz> @ 2016-11-21 5:02 ` Ross Zwisler 2016-11-21 16:54 ` Theodore Ts'o 0 siblings, 1 reply; 2+ messages in thread From: Ross Zwisler @ 2016-11-21 5:02 UTC (permalink / raw) To: Theodore Ts'o, Jan Kara; +Cc: Ross Zwisler, linux-ext4, linux-kernel 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> --- fs/ext4/ext4.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 8b76311..8a8a9b2 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -3262,13 +3262,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__ */ -- 2.7.4 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ext4: remove unused function ext4_aligned_io() 2016-11-21 5:02 ` [PATCH] ext4: remove unused function ext4_aligned_io() Ross Zwisler @ 2016-11-21 16:54 ` Theodore Ts'o 0 siblings, 0 replies; 2+ messages in thread From: Theodore Ts'o @ 2016-11-21 16:54 UTC (permalink / raw) To: Ross Zwisler; +Cc: Jan Kara, linux-ext4, linux-kernel On Sun, Nov 20, 2016 at 10:02:17PM -0700, Ross Zwisler wrote: > 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> Applied, thanks. - Ted ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-21 16:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1479458830-22955-9-git-send-email-jack@suse.cz>
2016-11-21 5:02 ` [PATCH] ext4: remove unused function ext4_aligned_io() Ross Zwisler
2016-11-21 16:54 ` Theodore Ts'o
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®