Messages in this thread Patch in this message |  | | Subject | [PATCH] 2.4.10-pre5 fs/dquot.c | From | Ole André Vadla Ravnås <> | Date | 08 Sep 2001 11:20:51 -0100 |
| |
Hi,
another fix.. just in case it hasn't already been submitted. :]
Best regards, Ole André
---
--- linux/fs/dquot.c-orig Sat Sep 8 11:17:13 2001 +++ linux/fs/dquot.c Sat Sep 8 11:15:42 2001 @@ -671,8 +671,8 @@ struct file *filp = list_entry(p, struct file, f_list); struct inode *inode = filp->f_dentry->d_inode; if (filp->f_mode & FMODE_WRITE && dqinit_needed(inode, type)) { - struct vfsmount *mnt = mntget(file->f_vfsmnt); - struct dentry *dentry = dget(file->f_dentry); + struct vfsmount *mnt = mntget(filp->f_vfsmnt); + struct dentry *dentry = dget(filp->f_dentry); file_list_unlock(); sb->dq_op->initialize(inode, type); inode->i_flags |= S_QUOTA; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |