| Kernel v2.3.48 /fs/file_table.c |
|---|
 2.3.48
 fs
 file_table.c
diff -u --recursive --new-file v2.3.47/linux/fs/file_table.c linux/fs/file_table.c
--- v2.3.47/linux/fs/file_table.c Wed Jul 14 13:30:36 1999
+++ linux/fs/file_table.c Sat Feb 26 20:33:06 2000
@@ -99,7 +99,7 @@
/*
* Clear and initialize a (private) struct file for the given dentry,
* and call the open function (if any). The caller must verify that
- * inode->i_op and inode->i_op->default_file_ops are not NULL.
+ * inode->i_fop is not NULL.
*/
int init_private_file(struct file *filp, struct dentry *dentry, int mode)
{
@@ -109,7 +109,7 @@
filp->f_dentry = dentry;
filp->f_uid = current->fsuid;
filp->f_gid = current->fsgid;
- filp->f_op = dentry->d_inode->i_op->default_file_ops;
+ filp->f_op = dentry->d_inode->i_fop;
if (filp->f_op->open)
return filp->f_op->open(dentry->d_inode, filp);
else
|