diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-12-12 10:04:51 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-12-12 10:04:51 +0100 |
commit | 1c68271cf1bfe7f3664b6dbf4ffd5fe11130be5c (patch) | |
tree | cca760d0c9d5276765011cc1d4264cf565b2fec8 /fs/fuse/file.c | |
parent | 7078187a795f862465325bcadf3070867c0cb5f8 (diff) | |
download | blackbird-op-linux-1c68271cf1bfe7f3664b6dbf4ffd5fe11130be5c.tar.gz blackbird-op-linux-1c68271cf1bfe7f3664b6dbf4ffd5fe11130be5c.zip |
fuse: use file_inode() in fuse_file_fallocate()
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |