rw_verify_area() cleanup

Linux Kernel Mailing List <[email protected]>
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1563, 2005/02/09 13:19:49-02:00, [email protected]

	rw_verify_area() cleanup



 read_write.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/fs/read_write.c b/fs/read_write.c
--- a/fs/read_write.c	2005-02-10 08:12:24 -08:00
+++ b/fs/read_write.c	2005-02-10 08:12:24 -08:00
@@ -46,7 +46,7 @@
 	loff_t pos;
 
 	if (unlikely(count > file->f_maxcount))
-		return -EINVAL;
+		goto Einval;
 
 	pos = *ppos;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.