diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-16 20:05:23 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 12:57:24 +0400 |
commit | cb5e05d1a6786dfd393cf4825d626817df01c2c3 (patch) | |
tree | 8a401f57f8ccc46119a3f89a42ace4f6524e4459 /fs/fuse/file.c | |
parent | 6d0379ec49d99530ae6e25ee5dcf2495caee0101 (diff) | |
download | linux-stable-cb5e05d1a6786dfd393cf4825d626817df01c2c3.tar.gz linux-stable-cb5e05d1a6786dfd393cf4825d626817df01c2c3.tar.bz2 linux-stable-cb5e05d1a6786dfd393cf4825d626817df01c2c3.zip |
fuse: another open-coded file_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r-- | fs/fuse/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index e570081f9f76..bfb20a8642c3 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -548,8 +548,7 @@ static void fuse_aio_complete(struct fuse_io_priv *io, int err, ssize_t pos) res = io->bytes < 0 ? io->size : io->bytes; if (!is_sync_kiocb(io->iocb)) { - struct path *path = &io->iocb->ki_filp->f_path; - struct inode *inode = path->dentry->d_inode; + struct inode *inode = file_inode(io->iocb->ki_filp); struct fuse_conn *fc = get_fuse_conn(inode); struct fuse_inode *fi = get_fuse_inode(inode); |