From 0b175a7e68c2f51555820efb0a01681e3419c1bc Mon Sep 17 00:00:00 2001 From: Dipankar Sarma Date: Thu, 15 Sep 2005 00:48:42 +0530 Subject: [PATCH] [PATCH] Fix the fdtable freeing in the case of vmalloced fdset/arrays Noted by David Miller: "The bug is that free_fd_array() takes a "num" argument, but when calling it from __free_fdtable() we're instead passing in the size in bytes (ie. "num * sizeof(struct file *)")." Yes it is a bug. I think I messed it up while merging newer changes with an older version where I was using size in bytes to optimize. Signed-off-by: Dipankar Sarma Signed-off-by: Linus Torvalds --- Reading git-format-patch failed