[Devel] [PATCH RHEL8 COMMIT] fuse: fix occasional vstorage-mount abort

Konstantin Khorenko khorenko at virtuozzo.com
Tue Jun 22 13:16:40 MSK 2021


The commit is pushed to "branch-rh8-4.18.0-240.1.1.vz8.5.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-240.1.1.vz8.5.47
------>
commit 1e5c9d1f10f2cc5205f278af105990b150458d3f
Author: Alexey Kuznetsov <kuznet at acronis.com>
Date:   Tue Jun 22 04:33:49 2021 +0000

    fuse: fix occasional vstorage-mount abort
    
    Call conventions for fuse_release_common() changed in RHEL8
    
    To_merge: 8de0de643b6f ("fuse: i_size to be updated on first open")
    
    Signed-off-by: Alexey Kuznetsov <kuznet at acronis.com>
---
 fs/fuse/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index fc7e390f8b46..0a4833454f68 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -324,7 +324,7 @@ int fuse_open_common(struct inode *inode, struct file *file, bool isdir)
 		inode_unlock(inode);
 
 		if (err) {
-			fuse_release_common(file, FUSE_RELEASE);
+			fuse_release_common(file, false);
 			return err;
 		}
 	}


More information about the Devel mailing list