X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Ffile.c;h=7cb71b99260340fe7302d2a8c5dc4f84f8029aff;hb=d025e9e2b890db679f1246037bf65bd4be512627;hp=708d997a77485989d53583084a3e1b99354fb407;hpb=3cc5a2ee7fc8f67abeb91f39fd553b5d2d55b775;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/file.c b/fs/file.c index 708d997a7748..7cb71b992603 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;