summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
3257 } 3257 }
3258} 3258}
3259 3259
3260static inline bool ext4_aligned_io(struct inode *inode, loff_t off, loff_t len)
3261{
3262 int blksize = 1 << inode->i_blkbits;
3263
3264 return IS_ALIGNED(off, blksize) && IS_ALIGNED(len, blksize);
3265}
3266
3267extern struct iomap_ops ext4_iomap_ops; 3260extern struct iomap_ops ext4_iomap_ops;
3268 3261
3269#endif /* __KERNEL__ */ 3262#endif /* __KERNEL__ */