Searched hist:"2 d4d9fb591fe83d9f0559afaa9736ebc8edad0aa" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | namei.c | diff 2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa Fri Jun 07 02:33:07 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>
|
H A D | file.c | diff 2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa Fri Jun 07 02:33:07 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>
|
H A D | f2fs.h | diff 2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa Fri Jun 07 02:33:07 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>
|