diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-10-02 19:03:44 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-10-02 19:03:44 +0000 |
commit | 1da77c2678b3f69f2bc212e79df6432a9fffb61c (patch) | |
tree | 8555f453d363cac9164bc18873759a7fb9c11ed8 /winsup/cygwin/nfs.h | |
parent | 1d694d8e5c51b5290f52f8ba1a410b686b2b333f (diff) | |
download | cygnal-1da77c2678b3f69f2bc212e79df6432a9fffb61c.tar.gz cygnal-1da77c2678b3f69f2bc212e79df6432a9fffb61c.tar.bz2 cygnal-1da77c2678b3f69f2bc212e79df6432a9fffb61c.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/nfs.h')
-rw-r--r-- | winsup/cygwin/nfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/nfs.h b/winsup/cygwin/nfs.h index 657126f78..f185fe0b1 100644 --- a/winsup/cygwin/nfs.h +++ b/winsup/cygwin/nfs.h @@ -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); |