Browse Source

missing annotation in fs/file.c

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 11 years ago
parent
commit
e983094d6d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fs/file.c

+ 1 - 0
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;