Re: [PATCH 5/6] statx: Make windows attributes available for CIFS, NTFS and FAT to use

From: Christoph Hellwig
Date: Sun May 08 2016 - 04:39:27 EST


On Fri, Apr 29, 2016 at 01:58:14PM +0100, David Howells wrote:
> Make windows attributes available for CIFS, NTFS and FAT to use in the
> statx struct. The attribute flags map directly by value to those in the
> CIFS PDU flags. Some of these bits can also be used by JFS, UFS and HPFS.

Err, no way. Not that I disagree that some of these might be useful,
but we should define our own set of flags, which would include the
generic part of the IOC_GETFLAGS flags amd whatever we want to add to
them. And we should probably go for 64-bit flags while we're at it.