aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/file.c b/fs/file.c
index 2a991ac8e562..8e81775c5dc8 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -317,9 +317,7 @@ static int expand_fdtable(struct files_struct *files, int nr)
317 free_fdtable(cur_fdt); 317 free_fdtable(cur_fdt);
318 } else { 318 } else {
319 /* Somebody else expanded, so undo our attempt */ 319 /* Somebody else expanded, so undo our attempt */
320 spin_unlock(&files->file_lock);
321 __free_fdtable(new_fdt); 320 __free_fdtable(new_fdt);
322 spin_lock(&files->file_lock);
323 } 321 }
324 return 1; 322 return 1;
325} 323}