From: Miklos Szeredi Date: Fri, 12 Dec 2014 09:04:51 +0000 (+0100) Subject: fuse: use file_inode() in fuse_file_fallocate() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1c68271cf1bfe7f3664b6dbf4ffd5fe11130be5c;p=openwrt%2Fstaging%2Fblogic.git fuse: use file_inode() in fuse_file_fallocate() Signed-off-by: Miklos Szeredi --- diff --git a/fs/fuse/file.c b/fs/fuse/file.c index e8729ac30762..945bfbaf1db8 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -2884,7 +2884,7 @@ static long fuse_file_fallocate(struct file *file, int mode, loff_t offset, loff_t length) { struct fuse_file *ff = file->private_data; - struct inode *inode = file->f_inode; + struct inode *inode = file_inode(file); struct fuse_inode *fi = get_fuse_inode(inode); struct fuse_conn *fc = ff->fc; FUSE_ARGS(args);