VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2014-10-21 20:11:25 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2014-11-19 13:01:20 -0500 commit: a455589f181e60439c736c6c6a068bb7e6dc23f0 parent: 41d28bca2da4bd75a8915c1ccf2cacf7f4a2e531
Commit Summary:
assorted conversions to %p[dD]
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index caa8d95b24e8..bf50259012ab 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1988,7 +1988,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;