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

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

Advertisement

Kernel v2.4.13-ac8 /fs/file_table.c

Filename:/fs/file_table.c
Lines Added:0
Lines Deleted:5
Also changed in: (Previous) 2.4.13-ac7  2.4.13-ac6  2.4.13-ac5  2.4.13-ac4  2.4.13-ac3  2.4.13-ac1 
(Following) 2.4.18-pre9-ac3  2.4.18-pre9-ac4  2.4.18-rc2-ac1  2.4.18-rc2-ac2  2.4.18-ac1  2.4.18-ac2 

Location
[  2.4.13-ac8
  [  fs
     o  file_table.c

Patch

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/fs/file_table.c linux.ac/fs/file_table.c
--- linux.vanilla/fs/file_table.c   Mon Sep 17 21:16:30 2001
+++ linux.ac/fs/file_table.c   Wed Oct 10 01:48:22 2001
@@ -11,7 +11,6 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/smp_lock.h>
-#include <linux/iobuf.h>
 
 /* sysctl tunables... */
 struct files_stat_struct files_stat = {0, 0, NR_FILE};
@@ -105,10 +104,6 @@
 
    if (atomic_dec_and_test(&file->f_count)) {
       locks_remove_flock(file);
-
-      if (file->f_iobuf)
-         free_kiovec(1, &file->f_iobuf);
-
       if (file->f_op && file->f_op->release)
          file->f_op->release(inode, file);
       fops_put(file->f_op);


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