aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-11-04 04:47:33 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2009-01-05 02:38:58 -0500
commitc9e98886776386f1f7828d9685e78cd341849867 (patch)
tree5bf4ac819d1e9394f960f21a48881a9d2f9f69fe /fs/gfs2/ops_file.c
parent3767ac21f471fe669a7d9f6abef682ddac8fc3d8 (diff)
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>
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r--fs/gfs2/ops_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index fcfaaefc92fb..d7e649ed62f2 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -478,7 +478,7 @@ static int gfs2_open(struct inode *inode, struct file *file)
478 goto fail; 478 goto fail;
479 479
480 if (!(file->f_flags & O_LARGEFILE) && 480 if (!(file->f_flags & O_LARGEFILE) &&
481 ip->i_di.di_size > MAX_NON_LFS) { 481 ip->i_disksize > MAX_NON_LFS) {
482 error = -EOVERFLOW; 482 error = -EOVERFLOW;
483 goto fail_gunlock; 483 goto fail_gunlock;
484 } 484 }