aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/iomap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/iomap.c b/fs/iomap.c
index 77397b5a96ef..0d0bd8845586 100644
--- a/fs/iomap.c
+++ b/fs/iomap.c
@@ -1443,7 +1443,7 @@ iomap_bmap(struct address_space *mapping, sector_t bno,
1443 const struct iomap_ops *ops) 1443 const struct iomap_ops *ops)
1444{ 1444{
1445 struct inode *inode = mapping->host; 1445 struct inode *inode = mapping->host;
1446 loff_t pos = bno >> inode->i_blkbits; 1446 loff_t pos = bno << inode->i_blkbits;
1447 unsigned blocksize = i_blocksize(inode); 1447 unsigned blocksize = i_blocksize(inode);
1448 1448
1449 if (filemap_write_and_wait(mapping)) 1449 if (filemap_write_and_wait(mapping))