Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.101 /fs/read_write.c

Filename:/fs/read_write.c
Lines Added:1
Lines Deleted:2
Also changed in: (Previous) 2.1.89  2.1.60  2.1.56  2.1.51  2.1.45  2.1.43 
(Following) 2.1.116  2.1.120  2.1.129 

Location
[  2.1.101
  [  fs
     o  read_write.c

Patch

diff -u --recursive --new-file v2.1.100/linux/fs/read_write.c linux/fs/read_write.c
--- v2.1.100/linux/fs/read_write.c   Tue Mar 10 10:03:34 1998
+++ linux/fs/read_write.c   Fri May  8 00:28:49 1998
@@ -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,


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.