diff options
Diffstat (limited to 'fs/gfs2')
-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 7eb4b280ac66..bb11fd6752d3 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -406,7 +406,7 @@ static int gfs2_open(struct inode *inode, struct file *file) | |||
406 | 406 | ||
407 | if (!(file->f_flags & O_LARGEFILE) && | 407 | if (!(file->f_flags & O_LARGEFILE) && |
408 | ip->i_di.di_size > MAX_NON_LFS) { | 408 | ip->i_di.di_size > MAX_NON_LFS) { |
409 | error = -EFBIG; | 409 | error = -EOVERFLOW; |
410 | goto fail_gunlock; | 410 | goto fail_gunlock; |
411 | } | 411 | } |
412 | 412 | ||