patch-2.3.48 linux/fs/open.c
Next file: linux/fs/openpromfs/inode.c
Previous file: linux/fs/ntfs/fs.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat Feb 26 20:33:07 2000
-  Orig file: 
v2.3.47/linux/fs/open.c
-  Orig date: 
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.3.47/linux/fs/open.c linux/fs/open.c
@@ -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) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)