]> err.no Git - linux-2.6/blobdiff - fs/ext4/file.c
Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.git
[linux-2.6] / fs / ext4 / file.c
index 0b622c0624b71ad288d1b56257ca59d942f70f86..3bbc24b587858b97f6ebb0b492b65091158b77c2 100644 (file)
@@ -52,7 +52,7 @@ ext4_file_write(struct kiocb *iocb, const struct iovec *iov,
                unsigned long nr_segs, loff_t pos)
 {
        struct file *file = iocb->ki_filp;
-       struct inode *inode = file->f_dentry->d_inode;
+       struct inode *inode = file->f_path.dentry->d_inode;
        ssize_t ret;
        int err;