GFS2: Move i_size from gfs2_dinode_host and rename it to i_disksize

This patch moved the i_size field from the gfs2_dinode_host and
following the ext3 convention renames it i_disksize.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
此提交包含在:
Steven Whitehouse
2008-11-04 09:47:33 +00:00
父節點 3767ac21f4
當前提交 c9e9888677
共有 11 個檔案被更改,包括 56 行新增55 行删除

查看文件

@@ -478,7 +478,7 @@ static int gfs2_open(struct inode *inode, struct file *file)
goto fail;
if (!(file->f_flags & O_LARGEFILE) &&
ip->i_di.di_size > MAX_NON_LFS) {
ip->i_disksize > MAX_NON_LFS) {
error = -EOVERFLOW;
goto fail_gunlock;
}