Message ID | 20200910152949.3227-1-nborisov@suse.com (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show |
Series | iomap: Don't opencode SECTOR_SIZE macro | expand |
diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c index 31eb680d8c64..4c688682236f 100644 --- a/fs/iomap/buffered-io.c +++ b/fs/iomap/buffered-io.c @@ -29,7 +29,7 @@ struct iomap_page { atomic_t read_count; atomic_t write_count; spinlock_t uptodate_lock; - DECLARE_BITMAP(uptodate, PAGE_SIZE / 512); + DECLARE_BITMAP(uptodate, PAGE_SIZE / SECTOR_SIZE); }; static inline struct iomap_page *to_iomap_page(struct page *page)
Signed-off-by: Nikolay Borisov <nborisov@suse.com> --- fs/iomap/buffered-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)