VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Vadim Lobanov <vlobanov@speakeasy.net> 2006-12-22 01:10:43 -0800 committer: Linus Torvalds <torvalds@woody.osdl.org> 2006-12-22 08:55:50 -0800 commit: 01b2d93ca4c495f056471189ac6c4e6ac4cbbccb parent: 31fccf7fe4097e62f038bdfe8f4f68ecaea8ebe7
Commit Summary:
[PATCH] fdtable: Provide free_fdtable() wrapper
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/file.c b/fs/file.c
index 857fa49e984c..c5575de01113 100644
--- 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)
-			call_rcu(&cur_fdt->rcu, free_fdtable_rcu);
+			free_fdtable(cur_fdt);
 	} else {
 		/* Somebody else expanded, so undo our attempt */
 		free_fdarr(new_fdt);