Thread (283 messages) 283 messages, 37 authors, 2007-07-12

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2007-05-04 04:55:41
Also in: linux-fsdevel, linux-xfs, lkml

On Thu, 3 May 2007 21:29:55 -0700 Andrew Morton [off-list ref] wrote:
quoted
+	ret = -EFBIG;
+	if (offset + len > inode->i_sb->s_maxbytes)
+		goto out_fput;
This code does handle offset+len going negative, but only by accident, I
suspect.
But it doesn't handle offset+len wrapping through zero.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help