Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348978
b: refs/heads/master
c: c01e54b
h: refs/heads/master
v: v3
  • Loading branch information
Jaegeuk Kim committed Jan 22, 2013
1 parent acde059 commit 0ca452d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 692bb55d1ab5b278181ff2e65f09eb0be6d50669
refs/heads/master: c01e54b770e69c65525295eb2668be3dc0822406
6 changes: 6 additions & 0 deletions trunk/fs/f2fs/data.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,11 @@ static int f2fs_set_data_page_dirty(struct page *page)
return 0;
}

static sector_t f2fs_bmap(struct address_space *mapping, sector_t block)
{
return generic_block_bmap(mapping, block, get_data_block_ro);
}

const struct address_space_operations f2fs_dblock_aops = {
.readpage = f2fs_read_data_page,
.readpages = f2fs_read_data_pages,
Expand All @@ -709,4 +714,5 @@ const struct address_space_operations f2fs_dblock_aops = {
.invalidatepage = f2fs_invalidate_data_page,
.releasepage = f2fs_release_data_page,
.direct_IO = f2fs_direct_IO,
.bmap = f2fs_bmap,
};

0 comments on commit 0ca452d

Please sign in to comment.