diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-06-07 09:33:07 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-06-11 09:01:09 +0200 |
commit | 2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa (patch) | |
tree | 27ef8c9fca7b1e56674ed23e3aecdacf36e67bd3 /include/asm-generic | |
parent | f2fs: set sb->s_fs_info before calling parse_options() (diff) | |
download | linux-2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa.tar.xz linux-2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa.zip |
f2fs: fix i_blocks translation on various types of files
Basically an inode manages the number of allocated blocks with inode->i_blocks
which is represented in a unit of sectors, not file system blocks.
But, f2fs has used i_blocks in a unit of file system blocks, and f2fs_getattr
translates it to the number of sectors when fstat is called.
However, previously f2fs_file_inode_operations only has this, so this patch adds
it to all the types of inode_operations.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions