On 4/25/24 11:57, Christian Brauner wrote:
On Thu, Apr 25, 2024 at 01:38:59AM +0200, Dawid Osuchowski wrote:Creates an anon_inode_getfile_fmode() function that works similarly to anon_inode_getfile() with the addition of being able to set the fmode member.And for what use-case exactly?
There was a TODO in the vfio driver [1] to create an interface here that would also allow to set fmode, hence this change.
-- Dawid [1] https://lore.kernel.org/kvm/20240424234147.7840-1-linux@xxxxxxxxxxx/T/#u