* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only use
file id as inode number if it masters the isgood_inode check.
This commit is contained in:
parent
9636c4262e
commit
91b3d1ed7a
|
@ -1,3 +1,8 @@
|
|||
2011-03-14 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only use
|
||||
file id as inode number if it masters the isgood_inode check.
|
||||
|
||||
2011-03-13 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||
|
||||
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove
|
||||
|
|
|
@ -383,7 +383,8 @@ fhandler_base::fstat_by_handle (struct __stat64 *buf)
|
|||
status, pc.get_nt_native_path ());
|
||||
return -1;
|
||||
}
|
||||
ino = fii.FileId.QuadPart;
|
||||
else if (pc.isgood_inode (fii.FileId.QuadPart))
|
||||
ino = fii.FileId.QuadPart;
|
||||
}
|
||||
}
|
||||
return fstat_helper (buf, fsi.NumberOfLinks);
|
||||
|
|
Loading…
Reference in New Issue