missing annotation in fs/file.c
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 31 Aug 2014 18:12:09 +0000 (14:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:11 +0000 (02:39 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c

index 66923fe3176e49b03617e2f5477bb8e05fc89dc3..f3b2c206c18dd9640935d2fc8ece1e07e589fa0f 100644 (file)
--- 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;