Skip to content
Commit ea5c58e7 authored by Eric Biggers's avatar Eric Biggers Committed by Linus Torvalds
Browse files

vfs: clear remainder of 'full_fds_bits' in dup_fd()



This fixes a bug from commit f3f86e33 ("vfs: Fix pathological
performance case for __alloc_fd()").

v2: refactor to share fd bitmap copying code
Signed-off-by: default avatarEric Biggers <ebiggers3@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2c302e7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment