|
@@ -1967,7 +1967,6 @@ inline int generic_write_checks(struct file *file, loff_t *pos, size_t *count, i
|
|
|
if (unlikely(*pos + *count > MAX_NON_LFS &&
|
|
|
!(file->f_flags & O_LARGEFILE))) {
|
|
|
if (*pos >= MAX_NON_LFS) {
|
|
|
- send_sig(SIGXFSZ, current, 0);
|
|
|
return -EFBIG;
|
|
|
}
|
|
|
if (*count > MAX_NON_LFS - (unsigned long)*pos) {
|
|
@@ -1985,7 +1984,6 @@ inline int generic_write_checks(struct file *file, loff_t *pos, size_t *count, i
|
|
|
if (likely(!isblk)) {
|
|
|
if (unlikely(*pos >= inode->i_sb->s_maxbytes)) {
|
|
|
if (*count || *pos > inode->i_sb->s_maxbytes) {
|
|
|
- send_sig(SIGXFSZ, current, 0);
|
|
|
return -EFBIG;
|
|
|
}
|
|
|
/* zero-length writes at ->s_maxbytes are OK */
|