Re: [PATCH 4/4] statx: AFS: Return enhanced file attributes [ver #3]

2016-11-23 Thread Andreas Dilger
On Nov 22, 2016, at 5:56 PM, David Howells wrote: > > 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 >

[PATCH 4/4] statx: AFS: Return enhanced file attributes [ver #3]

2016-11-22 Thread David Howells
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

[PATCH 4/4] statx: AFS: Return enhanced file attributes [ver #2]

2016-11-18 Thread David Howells
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

Re: [PATCH 4/4] statx: AFS: Return enhanced file attributes

2016-11-18 Thread David Howells
Andreas Dilger wrote: > > STATX_ATIME, STATX_CTIME and STATX_BLOCKS are cleared as AFS does not > > support them. > > Rather than clearing specific flags, wouldn't it be better to explicitly > set the flags that are actually being returned? Otherwise, this would > have the problem that Dave poi

Re: [PATCH 4/4] statx: AFS: Return enhanced file attributes

2016-11-18 Thread Andreas Dilger
On Nov 17, 2016, at 6:35 AM, David Howells wrote: > > Return enhanced file attributes from the AFS filesystem. This includes the > following: > > (1) The data version number as st_version, setting STATX_VERSION. > > (2) STATX_ATTR_AUTOMOUNT will be set on automount directories by virtue of >

[PATCH 4/4] statx: AFS: Return enhanced file attributes

2016-11-17 Thread David Howells
Return enhanced file attributes from the AFS filesystem. This includes the following: (1) The data version number as st_version, setting STATX_VERSION. (2) STATX_ATTR_AUTOMOUNT will be set on automount directories by virtue of S_AUTOMOUNT being set on the inode. These are referrals to ot