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

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

Advertisement

Kernel v2.3.48 /fs/open.c

Filename:/fs/open.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.3.46  2.3.45  2.3.43  2.3.41  2.3.38  2.3.31 
(Following) 2.3.51  2.3.99-pre2  2.3.99-pre3  2.3.99-pre4  2.3.99-pre6  2.3.99-pre7 

Location
[  2.3.48
  [  fs
     o  open.c

Patch

diff -u --recursive --new-file v2.3.47/linux/fs/open.c linux/fs/open.c
--- v2.3.47/linux/fs/open.c   Wed Feb 16 17:03:52 2000
+++ linux/fs/open.c   Sat Feb 26 20:33:07 2000
@@ -680,7 +680,7 @@
    f->f_reada = 0;
    f->f_op = NULL;
    if (inode->i_op)
-      f->f_op = inode->i_op->default_file_ops;
+      f->f_op = inode->i_fop;
    if (inode->i_sb)
       file_move(f, &inode->i_sb->s_files);
    if (f->f_op && f->f_op->open) {


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