Add support for Parallels Desktop FS (prlfs)

* mount.h (enum fs_info_type): Add prlfs (Parallels Desktop FS).
	(class fs_info): Add has_broken_fnoi flag.  Implement prlfs FS flag.
	* mount.cc (fs_info::update): Handle PrlFS.  Fill new has_broken_fnoi
	flag with life.
	(fs_names): Add prlfs.
	* globals.cc (ro_u_prlfs): Define.
	* path.h (path_conv::has_broken_fnoi): New method.
	* path.cc (symlink_info::check): Call file_get_fnoi utilizing new
	has_broken_fnoi filesystem flag.
	* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Ditto.

	* new-features.xml (ov-new2.3): Document Parallels Desktop FS support.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2015-11-02 12:08:25 +01:00
parent 7ac60f6ceb
commit df6206aa56
10 changed files with 41 additions and 5 deletions

View File

@ -416,7 +416,7 @@ fhandler_base::fstat_by_handle (struct stat *buf)
on the information stored in pc.fnoi. So we overwrite them here. */
if (get_io_handle ())
{
status = file_get_fnoi (h, pc.fs_is_netapp (), pc.fnoi ());
status = file_get_fnoi (h, pc.has_broken_fnoi (), pc.fnoi ());
if (!NT_SUCCESS (status))
{
debug_printf ("%y = NtQueryInformationFile(%S, "