statx: AFS: Return enhanced file attributes

Return enhanced file attributes from the AFS filesystem.  This includes the
following:

 (1) STATX_ATTR_AUTOMOUNT will be set on automount directories by virtue of
     S_AUTOMOUNT being set on the inode.  These are referrals to other
     volumes or other cells.

STATX_ATIME, STATX_CTIME and STATX_BLOCKS are cleared as AFS does not
support them.

Example output:

	statx(/afs) = 0
	results=35f
	  Size: 2048            IO Block: 4096    directory
	Device: 00:25           Inode: 1           Links: 7
	Access: (0577/dr-xrwxrwx)  Uid:   100   Gid:     0
	Modify: 2016-06-24 08:02:25.000000000+0100

Signed-off-by: David Howells <dhowells@redhat.com>
1 file changed