VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Miklos Szeredi <mszeredi@redhat.com> 2021-04-07 14:36:45 +0200 committer: Miklos Szeredi <mszeredi@redhat.com> 2021-04-12 15:04:30 +0200 commit: 54d601cb67572c49177a5e4001e6c3b59fed4ba5 parent: 9ac29fd3f87ffdd993505d75e89714ab931cdedb
Commit Summary:
fuse: unsigned open flags
Diffstat:
1 file changed, 3 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index c549850089bb..d49fad6bdc29 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -255,7 +255,7 @@ out:
 }
 
 static void fuse_prepare_release(struct fuse_inode *fi, struct fuse_file *ff,
-				 int flags, int opcode)
+				 unsigned int flags, int opcode)
 {
 	struct fuse_conn *fc = ff->fm->fc;
 	struct fuse_release_args *ra = ff->release_args;
@@ -332,7 +332,8 @@ static int fuse_release(struct inode *inode, struct file *file)
 	return 0;
 }
 
-void fuse_sync_release(struct fuse_inode *fi, struct fuse_file *ff, int flags)
+void fuse_sync_release(struct fuse_inode *fi, struct fuse_file *ff,
+		       unsigned int flags)
 {
 	WARN_ON(refcount_read(&ff->count) > 1);
 	fuse_prepare_release(fi, ff, flags, FUSE_RELEASE);