Accommodate trailing NUL in PrlSF filesystem name.
* globals.cc (ro_u_prlfs): Add trailing NUL. Explain why. * mount.cc (fs_info::update): Add a comment to explain PrlSF. * path.h (path_conv::fs_is_prlfs): Add for symmetry. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -138,7 +138,9 @@ extern "C" {
|
||||
extern UNICODE_STRING _RDATA ro_u_mvfs = _ROU (L"MVFS");
|
||||
extern UNICODE_STRING _RDATA ro_u_nfs = _ROU (L"NFS");
|
||||
extern UNICODE_STRING _RDATA ro_u_ntfs = _ROU (L"NTFS");
|
||||
extern UNICODE_STRING _RDATA ro_u_prlfs = _ROU (L"PrlSF"); /* No typo! */
|
||||
/* No typo! It's actually "SF", not "FS", and the trailing NUL is counted
|
||||
in the reply from the filesystem. */
|
||||
extern UNICODE_STRING _RDATA ro_u_prlfs = _ROU (L"PrlSF\0");
|
||||
extern UNICODE_STRING _RDATA ro_u_refs = _ROU (L"ReFS");
|
||||
extern UNICODE_STRING _RDATA ro_u_sunwnfs = _ROU (L"SUNWNFS");
|
||||
extern UNICODE_STRING _RDATA ro_u_udf = _ROU (L"UDF");
|
||||
|
Reference in New Issue
Block a user