mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
Merge branch 'core/types' into x86/x32
This commit is contained in:
commit
3f21723079
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ static struct fdtable * alloc_fdtable(unsigned int nr)
|
|||
if (!data)
|
||||
goto out_arr;
|
||||
fdt->open_fds = data;
|
||||
data += nr / BITS_PER_LONG;
|
||||
data += nr / BITS_PER_BYTE;
|
||||
fdt->close_on_exec = data;
|
||||
fdt->next = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue