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> 2019-09-10 15:04:09 +0200 committer: Miklos Szeredi <mszeredi@redhat.com> 2019-09-10 16:29:49 +0200 commit: 1ccd1ea24962276ca0548386889ef7bf57479c5d parent: e413754b267e0e47ed38b3eacfa7178f21aca883
Commit Summary:
fuse: convert destroy to simple api
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index f404e15357a6..53f2cc6970f1 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -279,7 +279,7 @@ void fuse_release_common(struct file *file, bool isdir)
 	 * synchronous RELEASE is allowed (and desirable) in this case
 	 * because the server can be trusted not to screw up.
 	 */
-	fuse_file_put(ff, ff->fc->destroy_req != NULL, isdir);
+	fuse_file_put(ff, ff->fc->destroy, isdir);
 }
 
 static int fuse_open(struct inode *inode, struct file *file)