* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fetch stat
handle only after checking for NFS.
This commit is contained in:
parent
1ec02cef38
commit
4365c1598b
|
@ -1,3 +1,8 @@
|
|||
2010-06-17 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fetch stat
|
||||
handle only after checking for NFS.
|
||||
|
||||
2010-06-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Use handle
|
||||
|
|
|
@ -333,7 +333,6 @@ fhandler_base::fstat_by_handle (struct __stat64 *buf)
|
|||
{
|
||||
NTSTATUS status;
|
||||
IO_STATUS_BLOCK io;
|
||||
HANDLE h = get_stat_handle ();
|
||||
|
||||
if (pc.fs_is_nfs ())
|
||||
return fstat_by_nfs_ea (buf);
|
||||
|
@ -350,6 +349,8 @@ fhandler_base::fstat_by_handle (struct __stat64 *buf)
|
|||
FILE_STANDARD_INFORMATION fsi;
|
||||
FILE_INTERNAL_INFORMATION fii;
|
||||
|
||||
HANDLE h = get_stat_handle ();
|
||||
|
||||
if (pc.has_buggy_basic_info ())
|
||||
{
|
||||
status = NtQueryInformationFile (h, &io, &fi, sizeof fi,
|
||||
|
|
Loading…
Reference in New Issue