patch-2.4.0-test5 linux/fs/udf/inode.c

Next file: linux/fs/ufs/inode.c
Previous file: linux/fs/sysv/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/fs/udf/inode.c linux/fs/udf/inode.c
@@ -508,23 +508,6 @@
 	}
 	udf_release_data(cbh);
 
-	*err = -EFBIG;
-
-	/* Check file limits.. */
-	{
-		unsigned long limit = current->rlim[RLIMIT_FSIZE].rlim_cur;
-		if (limit < RLIM_INFINITY)
-		{
-			limit >>= inode->i_sb->s_blocksize_bits;
-			if (block >= limit)
-			{
-				send_sig(SIGXFSZ, current, 0);
-				*err = -EFBIG;
-				return NULL;
-			}
-		}
-	}
-
 	/* if the current extent is not recorded but allocated, get the
 		block in the extent corresponding to the requested block */
 	if ((laarr[c].extLength >> 30) == EXTENT_NOT_RECORDED_ALLOCATED)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)