Commit 1c68271cf1bfe7f3664b6dbf4ffd5fe11130be5c

Authored by Miklos Szeredi
1 parent 7078187a79

fuse: use file_inode() in fuse_file_fallocate()

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -2884,7 +2884,7 @@
2884 2884 loff_t length)
2885 2885 {
2886 2886 struct fuse_file *ff = file->private_data;
2887   - struct inode *inode = file->f_inode;
  2887 + struct inode *inode = file_inode(file);
2888 2888 struct fuse_inode *fi = get_fuse_inode(inode);
2889 2889 struct fuse_conn *fc = ff->fc;
2890 2890 FUSE_ARGS(args);