Matthew Wilcox <willy@xxxxxxxxxxxxx> writes: > This is wrong. "if the current task has either FOO or owns the file". > It's also unnecessarily complex. Try this: > > * Return true if the current task owns the file or has CAP_FOWNER in a > * namespace with the inode owner uid mapped > > ("either" in this context would imply exclusive-or, which isn't the intended > meaning). Sounds good, I'll send an updated patch. -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)