diff options
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r-- | fs/gfs2/ops_file.c | 2 |
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 | } |