[RHEL7,COMMIT] fuse/kio_pcs: support FUSE_FSYNC

Submitted by Konstantin Khorenko on April 27, 2018, 8:38 a.m.

Details

Message ID 201804270838.w3R8crol030608@finist_ce7.work
State New
Series "fuse/kio_pcs: support FUSE_FSYNC"
Headers show

Commit Message

Konstantin Khorenko April 27, 2018, 8:38 a.m.
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@virtuozzo.com>
Date:   Fri Apr 27 11:38:53 2018 +0300

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

Patch hide | download patch | download mbox

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;