Skip to content

Commit

Permalink
Merge branch 'xfs-4.10-misc-fixes-2' into iomap-4.10-directio
Browse files Browse the repository at this point in the history
  • Loading branch information
dchinner committed Nov 30, 2016
2 parents 9484ab1 + f782088 commit e3df41f
Show file tree
Hide file tree
Showing 30 changed files with 961 additions and 1,064 deletions.
5 changes: 2 additions & 3 deletions fs/iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,7 @@ iomap_page_mkwrite_actor(struct inode *inode, loff_t pos, loff_t length,
struct page *page = data;
int ret;

ret = __block_write_begin_int(page, pos & ~PAGE_MASK, length,
NULL, iomap);
ret = __block_write_begin_int(page, pos, length, NULL, iomap);
if (ret)
return ret;

Expand Down Expand Up @@ -562,7 +561,7 @@ int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fi,
}

while (len > 0) {
ret = iomap_apply(inode, start, len, 0, ops, &ctx,
ret = iomap_apply(inode, start, len, IOMAP_REPORT, ops, &ctx,
iomap_fiemap_actor);
/* inode with no (attribute) mapping will give ENOENT */
if (ret == -ENOENT)
Expand Down
Loading

0 comments on commit e3df41f

Please sign in to comment.