diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-28 22:58:42 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-28 22:58:42 +0000 |
commit | eed6b7c84cc33f229f6fecd884d9a22af5bec514 (patch) | |
tree | 422a7a49328c59053f4fb11805adb753523c2f2c /fs/sysv | |
parent | a3b90e3c6976551acbac09f5aacd736a1658aaa8 (diff) |
Merge with Linux 2.4.0-test5-pre6.
Diffstat (limited to 'fs/sysv')
-rw-r--r-- | fs/sysv/inode.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index e1d594f0b..b7a1068ce 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c @@ -685,20 +685,6 @@ repeat: return NULL; } } - *err = -EFBIG; - - /* Check file limits.. */ - { - unsigned long limit = current->rlim[RLIMIT_FSIZE].rlim_cur; - if (limit < RLIM_INFINITY) { - limit >>= sb->sv_block_size_bits; - if (new_block >= limit) { - send_sig(SIGXFSZ, current, 0); - *err = -EFBIG; - return NULL; - } - } - } tmp = sysv_new_block(sb); if (!tmp) { @@ -742,7 +728,6 @@ static struct buffer_head *block_getblk(struct inode *inode, u32 tmp, block; sysv_zone_t *p; struct buffer_head * result; - unsigned long limit; result = NULL; if (!bh) @@ -771,16 +756,6 @@ repeat: goto out; } } - *err = -EFBIG; - - limit = current->rlim[RLIMIT_FSIZE].rlim_cur; - if (limit < RLIM_INFINITY) { - limit >>= sb->sv_block_size_bits; - if (new_block >= limit) { - send_sig(SIGXFSZ, current, 0); - goto out; - } - } block = sysv_new_block(sb); if (!block) |