From: Jaegeuk Kim Date: Fri, 7 Jun 2013 07:33:07 +0000 (+0900) Subject: f2fs: fix i_blocks translation on various types of files X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~81^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d4d9fb591fe83d9f0559afaa9736ebc8edad0aa;p=pandora-kernel.git 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 --- Reading git-diff-tree failed