diff options
Diffstat (limited to 'fs/file.c')
-rw-r--r-- | fs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ static int expand_fdtable(struct files_struct *files, int nr) | |||
206 | copy_fdtable(new_fdt, cur_fdt); | 206 | copy_fdtable(new_fdt, cur_fdt); |
207 | rcu_assign_pointer(files->fdt, new_fdt); | 207 | rcu_assign_pointer(files->fdt, new_fdt); |
208 | if (cur_fdt->max_fds > NR_OPEN_DEFAULT) | 208 | if (cur_fdt->max_fds > NR_OPEN_DEFAULT) |
209 | call_rcu(&cur_fdt->rcu, free_fdtable_rcu); | 209 | free_fdtable(cur_fdt); |
210 | } else { | 210 | } else { |
211 | /* Somebody else expanded, so undo our attempt */ | 211 | /* Somebody else expanded, so undo our attempt */ |
212 | free_fdarr(new_fdt); | 212 | free_fdarr(new_fdt); |