diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | } |