]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/file.c
[PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references
[linux-2.6-omap-h63xx.git] / fs / file.c
index 2a991ac8e562599cbe43d4dfd8f2452c6d92bf3b..8e81775c5dc818bd3b9d66e3fd895524294f5c78 100644 (file)
--- a/fs/file.c
+++ b/fs/file.c
@@ -317,9 +317,7 @@ static int expand_fdtable(struct files_struct *files, int nr)
                free_fdtable(cur_fdt);
        } else {
                /* Somebody else expanded, so undo our attempt */
-               spin_unlock(&files->file_lock);
                __free_fdtable(new_fdt);
-               spin_lock(&files->file_lock);
        }
        return 1;
 }