aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index d0c23d075427..64835cf58936 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1743,7 +1743,7 @@ static bool fuse_writepage_in_flight(struct fuse_req *new_req,
1743 } 1743 }
1744 } 1744 }
1745 1745
1746 if (old_req->num_pages == 1 && old_req->state == FUSE_REQ_PENDING) { 1746 if (old_req->num_pages == 1 && test_bit(FR_PENDING, &old_req->flags)) {
1747 struct backing_dev_info *bdi = inode_to_bdi(page->mapping->host); 1747 struct backing_dev_info *bdi = inode_to_bdi(page->mapping->host);
1748 1748
1749 copy_highpage(old_req->pages[0], page); 1749 copy_highpage(old_req->pages[0], page);