diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1177,7 +1177,7 @@ asmlinkage long sys_vhangup(void) | |||
1177 | int generic_file_open(struct inode * inode, struct file * filp) | 1177 | int 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 | ||