patch-2.0.21-2.1.0 linux/fs/exec.c

Next file: linux/fs/ext/dir.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/fs/exec.c linux/fs/exec.c
@@ -338,8 +338,8 @@
 			goto end_readexec;
 	if (!file.f_op || !file.f_op->read)
 		goto close_readexec;
-	if (file.f_op->lseek) {
-		if (file.f_op->lseek(inode,&file,offset,0) != offset)
+	if (file.f_op->llseek) {
+		if (file.f_op->llseek(inode,&file,offset,0) != offset)
  			goto close_readexec;
 	} else
 		file.f_pos = offset;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov