projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] ext3: refuse ro to rw remount of fs with orphan inodes
[powerpc.git]
/
fs
/
file.c
diff --git
a/fs/file.c
b/fs/file.c
index
857fa49
..
c5575de
100644
(file)
--- a/
fs/file.c
+++ b/
fs/file.c
@@
-206,7
+206,7
@@
static int expand_fdtable(struct files_struct *files, int nr)
copy_fdtable(new_fdt, cur_fdt);
rcu_assign_pointer(files->fdt, new_fdt);
if (cur_fdt->max_fds > NR_OPEN_DEFAULT)
copy_fdtable(new_fdt, cur_fdt);
rcu_assign_pointer(files->fdt, new_fdt);
if (cur_fdt->max_fds > NR_OPEN_DEFAULT)
-
call_rcu(&cur_fdt->rcu, free_fdtable_rcu
);
+
free_fdtable(cur_fdt
);
} else {
/* Somebody else expanded, so undo our attempt */
free_fdarr(new_fdt);
} else {
/* Somebody else expanded, so undo our attempt */
free_fdarr(new_fdt);