On 6/29/21 4:04 PM, Darrick J. Wong wrote:
Why don't we deprecate FS_IOC_[GS]ETFLAGS and tell everyone to use
FS[GS]ETXATTR? They use the same code paths and vfs helpers now.
How does "invent a new API and tell everybody to use that instead" address a
concern about a least intrusive cleanup while maintaining binary compatibility
with historical weirdness?
(There IS a currently consistent API. It's the "32" versions. The surprise is
that the non-32 versions don't do something different than the 32 versions, even
though their definition implies they would.)
Rob