Loading include/linux/iomap.h +1 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,7 @@ struct iomap { const struct iomap_page_ops *page_ops; }; static inline sector_t iomap_sector(struct iomap *iomap, loff_t pos) static inline sector_t iomap_sector(const struct iomap *iomap, loff_t pos) { return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; } Loading Loading
include/linux/iomap.h +1 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,7 @@ struct iomap { const struct iomap_page_ops *page_ops; }; static inline sector_t iomap_sector(struct iomap *iomap, loff_t pos) static inline sector_t iomap_sector(const struct iomap *iomap, loff_t pos) { return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; } Loading