浏览代码

missing annotation in fs/file.c

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 11 年之前
父节点
当前提交
e983094d6d
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;