ms-nfs41-client/sys
Casey Bodley b2e6a60710 ea: refactor SetEaInfo for use on open
when open is given an ea buffer, pass it to new function nfs41_ea_set() after successful file creation.  matches NTFS behavior on all dispositions: sets EAs on FILE_CREATE, FILE_OVERWRITE, FILE_OVERWRITE_IF, FILE_SUPERSEDE.  does not set EAs on FILE_OPEN.  only sets EAs on FILE_OPEN_IF if file did not previously exist.  see new function create_with_ea()

nfs41_ea_set() returns nfs error codes.  uses NFS4ERR_FBIG when the EaValueLength exceeds NFS4_EASIZE (256).  this gets mapped to windows error ERROR_FILE_TOO_LARGE, which the driver now converts to STATUS_EA_TOO_LARGE

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
2012-05-03 10:58:24 -04:00
..
makefile fresh git tree for public release 2010-10-12 10:15:48 -04:00
nfs41_debug.c [cosmetic] adding printfs to open error codes 2012-04-05 17:13:35 -04:00
nfs41_debug.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_driver.c ea: refactor SetEaInfo for use on open 2012-05-03 10:58:24 -04:00
nfs41_driver.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_driver.ini fresh git tree for public release 2010-10-12 10:15:48 -04:00
nfs41_driver.rc fresh git tree for public release 2010-10-12 10:15:48 -04:00
sources fresh git tree for public release 2010-10-12 10:15:48 -04:00
wmlkm.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
wmlkm.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00