Skip to content
Commit 51d908b3 authored by Al Viro's avatar Al Viro
Browse files

swapon(2): open swap with O_EXCL



... eliminating the need to reopen block devices so they could be
exclusively held.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 798cb7f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment