patch-2.1.101 linux/fs/read_write.c

Next file: linux/fs/super.c
Previous file: linux/fs/proc/link.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/fs/read_write.c linux/fs/read_write.c
@@ -79,7 +79,7 @@
 	return retval;
 }
 
-#if !defined(__alpha__) && !defined(__sparc_v9__)
+#if !defined(__alpha__)
 asmlinkage int sys_llseek(unsigned int fd, unsigned long offset_high,
 			  unsigned long offset_low, loff_t * result,
 			  unsigned int origin)
@@ -132,7 +132,6 @@
 	file = fget(fd);
 	if (!file)
 		goto bad_file;
-	ret = -EBADF;
 	if (!(file->f_mode & FMODE_READ))
 		goto out;
 	ret = locks_verify_area(FLOCK_VERIFY_READ, file->f_dentry->d_inode,

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