[Devel] [PATCH RHEL7 COMMIT] fuse/kio_pcs: support FUSE_FSYNC

Konstantin Khorenko khorenko at virtuozzo.com
Fri Apr 27 11:38:53 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-693.21.1.vz7.47.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.21.1.vz7.46.7
------>
commit abbe084ffe75993b8f4f3b541ff1ddc808b02492
Author: Alexey Kuznetsov <kuznet at virtuozzo.com>
Date:   Fri Apr 27 11:38:53 2018 +0300

    fuse/kio_pcs: support FUSE_FSYNC
    
    Signed-off-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
    Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
 fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c b/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
index b8503d55e246..f35b8975a19b 100644
--- a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
+++ b/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
@@ -933,6 +933,7 @@ static int kpcs_req_send(struct fuse_conn* fc, struct fuse_req *req, bool bg, bo
 	}
 	case FUSE_READ:
 	case FUSE_WRITE:
+	case FUSE_FSYNC:
 		fi = get_fuse_inode(req->io_inode);
 		if (!fi->private)
 			return 1;


More information about the Devel mailing list