VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Jeff Layton <jlayton@poochiereds.net> 2014-05-09 14:13:04 -0400 committer: Jeff Layton <jlayton@poochiereds.net> 2014-06-02 08:09:29 -0400 commit: 130d1f956ab367bab855336279afa3b19acdc9a1 parent: cf01f4eef9fe367ec0d85b38dd7214e29e376cdb
Commit Summary:
locks: ensure that fl_owner is always initialized properly in flock and lease codepaths
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 96d513e01a5d..f680d2c44e97 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -2304,7 +2304,6 @@ static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl)
 		struct fuse_file *ff = file->private_data;
 
 		/* emulate flock with POSIX locks */
-		fl->fl_owner = (fl_owner_t) file;
 		ff->flock = true;
 		err = fuse_setlk(file, fl, 1);
 	}