ea: query each superblock for named attr support
adds a new function nfs41_superblock_getattr(), which adds an OPENATTR call with createdir=0 after the GETATTR to check for named attribute support. OPENATTR will either return ERR_NOTSUPP if not supported, or OK/ERR_NOENT depending on whether named attributes are present on the given file. we can't query for the 'named_attr' attribute, because it only tells us whether the given file contains named attributes if named attributes are supported on a superblock, it will return FILE_SUPPORTS_EXTENDED_ATTRIBUTES for associated volume queries Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
fd591f92d7
commit
b3229d20f6
5 changed files with 82 additions and 3 deletions
|
|
@ -49,6 +49,7 @@ typedef struct __nfs41_superblock {
|
|||
unsigned int cansettime : 1;
|
||||
unsigned int link_support : 1;
|
||||
unsigned int symlink_support : 1;
|
||||
unsigned int ea_support : 1;
|
||||
unsigned int case_preserving : 1;
|
||||
unsigned int case_insensitive : 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue