* mount.h (fs_info::inited): New inline method.
* path.cc (path_conv::check): Clear filesystem info if following a symlink. Use new fs_info::inited method to check if FS info is already available. (symlink_info::check): Drop fs_update_called. Use fs_info::inited method instead. Streamline test for leading space and trailing dot or space. Add comments.
This commit is contained in:
@@ -97,6 +97,7 @@ class fs_info
|
||||
const char *fsname () const { return fsn[0] ? fsn : "unknown"; }
|
||||
|
||||
bool update (PUNICODE_STRING, HANDLE) __attribute__ ((regparm (3)));
|
||||
bool inited () const { return !!status.flags; }
|
||||
};
|
||||
|
||||
/* Mount table entry */
|
||||
|
Reference in New Issue
Block a user