On Tue, Jun 07, 2022 at 11:31:39PM +0000, Al Viro wrote: > * calculate at the time we set FMODE_OPENED (do_dentry_open() for normal > opens, alloc_file() for pipe()/socket()/etc.) > * update when handling F_SETFL > * keep in a new field - file->f_i_flags; since that thing is needed only Can you name this f_iocb_flags, because I keep reading it the "f_i_" shorthand as "file_inode_".... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx