* 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:
Corinna Vinschen
2010-04-26 13:48:04 +00:00
parent 3134b8ad36
commit 002a34fa14
3 changed files with 40 additions and 24 deletions

View File

@@ -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 */