ms-nfs41-client/sys
Casey Bodley 2baeeb855b volume: cache volume attributes on mount
struct NFS41_V_NET_ROOT_EXTENSION now stores only the FILE_FS_ATTRIBUTE_INFORMATION (without the extra buffer space for a name).  on QueryVolumeInfo() for FileFsAttributeInformation on the root directory, the FILE_FS_ATTRIBUTE_INFORMATION is copied into the output buffer, and the name is added there.  QueryVolumeInfo() only makes upcalls when FileFsAttributeInformation queries are not for the root directory

new function is_root_directory() uses the logic from Set/GetReparsePoint() to determine whether it's operating on the root directory

moved logic from volume.c:handle_volume_attributes() to superblock.c:nfs41_superblock_fs_attributes().  the mount downcall copies the FILE_FS_ATTRIBUTE_INFORMATION buffer down to the driver.  the driver reads this buffer directly into VNetRootContext->FsAttrs

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
2012-04-20 15:03:14 -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 volume: cache volume attributes on mount 2012-04-20 15:03:14 -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