aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index f1691cd0c9d..1ba85c7fc6a 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -100,6 +100,7 @@ int unregister_binfmt(struct linux_binfmt * fmt)
100 while (*tmp) { 100 while (*tmp) {
101 if (fmt == *tmp) { 101 if (fmt == *tmp) {
102 *tmp = fmt->next; 102 *tmp = fmt->next;
103 fmt->next = NULL;
103 write_unlock(&binfmt_lock); 104 write_unlock(&binfmt_lock);
104 return 0; 105 return 0;
105 } 106 }