]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/fuse/file.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
[linux.git] / fs / fuse / file.c
index 945bfbaf1db891ea2e4991b0e1b8d89ea175c8f7..760b2c55219741a48e0e444d482cb9e08535f938 100644 (file)
@@ -1943,7 +1943,7 @@ static int fuse_write_begin(struct file *file, struct address_space *mapping,
                struct page **pagep, void **fsdata)
 {
        pgoff_t index = pos >> PAGE_CACHE_SHIFT;
-       struct fuse_conn *fc = get_fuse_conn(file->f_dentry->d_inode);
+       struct fuse_conn *fc = get_fuse_conn(file_inode(file));
        struct page *page;
        loff_t fsize;
        int err = -ENOMEM;