VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2014-08-31 14:12:09 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2014-10-09 02:39:11 -0400 commit: e983094d6dce524f3890edfec44b7ca6dbfa1183 parent: b8850d1fa8e2f6653e57daf6d08e58c5f5eb2c85
Commit Summary:
missing annotation in fs/file.c
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/file.c b/fs/file.c
index 66923fe3176e..f3b2c206c18d 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -750,6 +750,7 @@ bool get_close_on_exec(unsigned int fd)
 
 static int do_dup2(struct files_struct *files,
 	struct file *file, unsigned fd, unsigned flags)
+__releases(&files->file_lock)
 {
 	struct file *tofree;
 	struct fdtable *fdt;