aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index 044bfa891c94..cdbb94a9efc2 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -1177,7 +1177,7 @@ asmlinkage long sys_vhangup(void)
1177int generic_file_open(struct inode * inode, struct file * filp) 1177int generic_file_open(struct inode * inode, struct file * filp)
1178{ 1178{
1179 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) 1179 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS)
1180 return -EFBIG; 1180 return -EOVERFLOW;
1181 return 0; 1181 return 0;
1182} 1182}
1183 1183