ea: QueryEaInfo support for index, restart, single
nfs41_open_state stores current ea index, and increments it for each successful entry returned. index is set to 0 when the 'restart' argument is given. cached directory listing is freed after the listing is complete QueryEaInfo now sends up its output buffer size, and the daemon uses this to limit its results. added checks for buffer overflows, which required changes to the downcall structure updated driver error mappings for map_setea_error() Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
17aac16946
commit
c66771cda6
4 changed files with 283 additions and 132 deletions
|
|
@ -116,6 +116,7 @@ typedef struct __getexattr_upcall_args {
|
|||
ULONG eaindex;
|
||||
unsigned char *ealist;
|
||||
uint32_t ealist_len;
|
||||
uint32_t overflow;
|
||||
BOOLEAN single;
|
||||
BOOLEAN restart;
|
||||
} getexattr_upcall_args;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue