author: Al Viro <viro@zeniv.linux.org.uk> 2012-11-12 01:19:02 -0500
committer: Al Viro <viro@zeniv.linux.org.uk> 2012-11-12 01:19:02 -0500
commit: 5a8477660d9ddc090203736d7271137265cb25bb
parent: a736427fa1103158338839813139b20763c7b13e
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/file.c b/fs/file.c
index d3b5fa80b71b..331e7d24d9d3 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -685,7 +685,6 @@ void do_close_on_exec(struct files_struct *files)
struct fdtable *fdt;
/* exec unshares first */
- BUG_ON(atomic_read(&files->count) != 1);
spin_lock(&files->file_lock);
for (i = 0; ; i++) {
unsigned long set;