]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/dquot.c
[S390] Show loaded DCSS segments under /proc/iomem.
[linux-2.6-omap-h63xx.git] / fs / dquot.c
index 89066b19124d4ee4db28019d58523fb9a4c597d2..0952cc474d9a57e08b495315200a73d9c93889e7 100644 (file)
@@ -694,9 +694,9 @@ restart:
        file_list_lock();
        list_for_each(p, &sb->s_files) {
                struct file *filp = list_entry(p, struct file, f_u.fu_list);
-               struct inode *inode = filp->f_dentry->d_inode;
+               struct inode *inode = filp->f_path.dentry->d_inode;
                if (filp->f_mode & FMODE_WRITE && dqinit_needed(inode, type)) {
-                       struct dentry *dentry = dget(filp->f_dentry);
+                       struct dentry *dentry = dget(filp->f_path.dentry);
                        file_list_unlock();
                        sb->dq_op->initialize(inode, type);
                        dput(dentry);