diff options
author | Maxim Patlasov | 2019-07-22 10:17:17 +0300 |
---|---|---|
committer | Miklos Szeredi | 2019-09-02 11:07:30 +0200 |
commit | 17b2cbe294922ec2b78e29b93ed602b56cd75a4e (patch) | |
tree | f97fcda062c2d66b9f8478dd96ea04eef4f776d3 /fs/fuse/file.c | |
parent | 1fb027d7596464d3fad3ed59f70f43807ef926c6 (diff) |
fuse: cleanup fuse_wait_on_page_writeback
fuse_wait_on_page_writeback() always returns zero and nobody cares.
Let's make it void.
Signed-off-by: Maxim Patlasov <mpatlasov@virtuozzo.com>
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
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 5ae2828beb00..e076c2cf65b0 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -383,12 +383,11 @@ static inline bool fuse_page_is_writeback(struct inode *inode, pgoff_t index) * Since fuse doesn't rely on the VM writeback tracking, this has to * use some other means. */ -static int fuse_wait_on_page_writeback(struct inode *inode, pgoff_t index) +static void fuse_wait_on_page_writeback(struct inode *inode, pgoff_t index) { struct fuse_inode *fi = get_fuse_inode(inode); wait_event(fi->page_waitq, !fuse_page_is_writeback(inode, index)); - return 0; } /* |