summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-31 14:12:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 02:39:11 -0400
commite983094d6dce524f3890edfec44b7ca6dbfa1183 (patch)
tree8daf4a0076270cfe29f6010808624fffb3123e34 /fs/file.c
parentb8850d1fa8e2f6653e57daf6d08e58c5f5eb2c85 (diff)
downloadlwn-e983094d6dce524f3890edfec44b7ca6dbfa1183.tar.gz
lwn-e983094d6dce524f3890edfec44b7ca6dbfa1183.zip
missing annotation in fs/file.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file.c')
-rw-r--r--fs/file.c1
1 files changed, 1 insertions, 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;