ms-nfs41-client/daemon
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
..
acl.c fixing localdomain_name declaration in acl.c 2012-03-19 15:04:44 -04:00
callback_server.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
callback_xdr.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
daemon_debug.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
daemon_debug.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
delegation.c open and create accept pointer to attributes 2012-03-29 16:16:55 -04:00
delegation.h open and create accept pointer to attributes 2012-03-29 16:16:55 -04:00
from_kernel.h implement getattr for FileNetworkOpenInformation 2012-04-20 12:42:36 -04:00
getattr.c implement getattr for FileNetworkOpenInformation 2012-04-20 12:42:36 -04:00
idmap.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
idmap.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
list.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
lock.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
lookup.c handling hidden system archive file attributes 2012-04-02 12:49:44 -04:00
makefile fresh git tree for public release 2010-10-12 10:15:48 -04:00
mount.c volume: cache volume attributes on mount 2012-04-20 15:03:14 -04:00
name_cache.c handling hidden system archive file attributes 2012-04-02 12:49:44 -04:00
name_cache.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
namespace.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41.h volume: cache volume attributes on mount 2012-04-20 15:03:14 -04:00
nfs41_callback.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_client.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_compound.c [cosmetic] removed unused define 2012-03-19 15:04:39 -04:00
nfs41_compound.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_const.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_daemon.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_ops.c ea: query each superblock for named attr support 2012-04-09 15:01:12 -04:00
nfs41_ops.h ea: query each superblock for named attr support 2012-04-09 15:01:12 -04:00
nfs41_rpc.c in rpc_reconnect respect original needcb value 2012-03-19 15:04:36 -04:00
nfs41_server.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_session.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
nfs41_superblock.c volume: cache volume attributes on mount 2012-04-20 15:03:14 -04:00
nfs41_types.h handling hidden system archive file attributes 2012-04-02 12:49:44 -04:00
nfs41_xdr.c handling hidden system archive file attributes 2012-04-02 12:49:44 -04:00
nfs41_xdr.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
open.c changing silly rename scheme take 2 2012-04-06 17:01:50 -04:00
pnfs.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
pnfs_debug.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
pnfs_device.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
pnfs_io.c superblock: mask getattr requests with supported_attrs 2012-04-02 16:34:02 -04:00
pnfs_layout.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
readdir.c superblock: mask getattr requests with supported_attrs 2012-04-02 16:34:02 -04:00
readwrite.c superblock: mask getattr requests with supported_attrs 2012-04-02 16:34:02 -04:00
recovery.c open and create accept pointer to attributes 2012-03-29 16:16:55 -04:00
recovery.h license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
service.c build: pacified compiler warnings in x86/x64 2011-11-02 12:08:48 -04:00
service.h first stab at nfsd as a service 2010-10-12 10:36:03 -04:00
setattr.c ea: fail non-cygwin EAs without named attr support 2012-04-09 15:01:15 -04:00
sources idmap.c for ldap caching and configuration 2010-11-08 12:54:40 -05:00
symlink.c open and create accept pointer to attributes 2012-03-29 16:16:55 -04:00
tree.h replace rbtree implementation with tree.h from freebsd 2010-12-01 10:25:29 -05:00
upcall.c license changed to LGPL: added COPYING file, changed source file comments 2012-03-19 12:24:43 -04:00
upcall.h volume: cache volume attributes on mount 2012-04-20 15:03:14 -04:00
util.c implement getattr for FileNetworkOpenInformation 2012-04-20 12:42:36 -04:00
util.h implement getattr for FileNetworkOpenInformation 2012-04-20 12:42:36 -04:00
volume.c volume: cache volume attributes on mount 2012-04-20 15:03:14 -04:00