iov_iter: Export import_ubuf()
authorTakashi Iwai <tiwai@suse.de>
Tue, 15 Aug 2023 19:01:12 +0000 (21:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Aug 2023 10:18:15 +0000 (12:18 +0200)
commit70e969eb235ee6a030ff140b1852b598bf66f9c8
treed56f6ae54797192759644647cf6d013e68dd61d5
parent5be27f1e3ec98975c18a91e220d4847d0dec9671
iov_iter: Export import_ubuf()

Export import_ubuf() to be used in sound subsystem for generic memory
handling as Linus suggested.  It's used for constructing an iov_iter
of a single segment user-space copy for PCM data.

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/CAHk-=wh-mUL6mp4chAc6E_UjwpPLyCPRCJK+iB4ZMD2BqjwGHA@mail.gmail.com
Link: https://lore.kernel.org/r/20230815190136.8987-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
lib/iov_iter.c