aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
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,
1988 struct page **pagep, void **fsdata) 1988 struct page **pagep, void **fsdata)
1989{ 1989{
1990 pgoff_t index = pos >> PAGE_CACHE_SHIFT; 1990 pgoff_t index = pos >> PAGE_CACHE_SHIFT;
1991 struct fuse_conn *fc = get_fuse_conn(file->f_dentry->d_inode); 1991 struct fuse_conn *fc = get_fuse_conn(file_inode(file));
1992 struct page *page; 1992 struct page *page;
1993 loff_t fsize; 1993 loff_t fsize;
1994 int err = -ENOMEM; 1994 int err = -ENOMEM;