summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-05-31 16:34:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-08-12 22:01:15 -0400
commitde12c3391bce10504c0e7bd767516c74110cfce1 (patch)
tree6434fad961912914e5213298f50d4f77cb2f9694 /arch/x86/kvm/svm
parent88a2f6468d013ca1163490dbddfc95135d1c27a1 (diff)
add struct fd constructors, get rid of __to_fd()
Make __fdget() et.al. return struct fd directly. New helpers: BORROWED_FD(file) and CLONED_FD(file), for borrowed and cloned file references resp. NOTE: this might need tuning; in particular, inline on __fget_light() is there to keep the code generation same as before - we probably want to keep it inlined in fdget() et.al. (especially so in fdget_pos()), but that needs profiling. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/kvm/svm')
0 files changed, 0 insertions, 0 deletions