Re: [RFC PATCH v4 09/17] fs: Split off remove_needs_file_privs() __remove_file_privs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/22/22 12:32 AM, Christoph Hellwig wrote:
> So why don't we just define a __file_remove_privs that gets the iocb
> flags passed an an extra argument, and then make file_remove_privs pass
> 0 flags, and maybe also add a kiocb_remove_privs wrapper for callers
> that have the kiocb.  Same for the timestamp update, btw.  That seems
> less churn and less code overall.
 I introduced a __file_remove_privs() function with an additional parameter
that takes the iocb_flags.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux