* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Simplify.
Just call nfs_fetch_fattr3 if called via fstat. * nfs.cc (nfs_fetch_fattr3): New function to fetch NFS fattr3 info from file handle. * nfs.h (nfs_fetch_fattr3): Declare. * path.cc (symlink_info::check): Simplify NFS case. Just call nfs_fetch_fattr3.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
/* nfs.h
|
||||
|
||||
Copyright 2008 Red Hat, Inc.
|
||||
Copyright 2008, 2010 Red Hat, Inc.
|
||||
|
||||
This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
@ -53,3 +53,5 @@ struct nfs_aol_ffei_t {
|
||||
extern struct nfs_aol_ffei_t nfs_aol_ffei;
|
||||
|
||||
extern uint32_t nfs_type_mapping[];
|
||||
|
||||
extern NTSTATUS nfs_fetch_fattr3 (HANDLE h, fattr3 *fattr_buf);
|
||||
|
Reference in New Issue
Block a user