summaryrefslogtreecommitdiff
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorMateusz Guzik <mguzik@redhat.com>2017-10-03 13:58:15 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-06 02:58:07 +0300
commitc02b1a9b41c2e728289f96850580a3651e0a8b5f (patch)
tree15497a5e1c48c022858bf4f050225dd70c8d894d /fs/binfmt_elf_fdpic.c
parent5297908270549b734c7c2556745e2385b6d4941d (diff)
downloadlinux-c02b1a9b41c2e728289f96850580a3651e0a8b5f.tar.xz
vfs: grab the lock instead of blocking in __fd_install during resizing
Explicit locking in the fallback case provides a safe state of the table. Getting rid of blocking semantics makes __fd_install usable again in non-sleepable contexts, which easies backporting efforts. There is a side effect of slightly nicer assembly for the common case as might_sleep can now be removed. Signed-off-by: Mateusz Guzik <mguzik@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions