summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-31 20:12:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 08:39:11 +0200
commite983094d6dce524f3890edfec44b7ca6dbfa1183 (patch)
tree8daf4a0076270cfe29f6010808624fffb3123e34 /fs
parentfs: namespace: suppress 'may be used uninitialized' warnings (diff)
downloadlinux-e983094d6dce524f3890edfec44b7ca6dbfa1183.tar.xz
linux-e983094d6dce524f3890edfec44b7ca6dbfa1183.zip
missing annotation in fs/file.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-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;