* path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED from
NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.
This commit is contained in:
parent
3955529c8b
commit
c45871c9c5
@ -1,3 +1,8 @@
|
|||||||
|
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED from
|
||||||
|
NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.
|
||||||
|
|
||||||
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
|
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
|
* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
|
||||||
|
@ -2210,6 +2210,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
|
|||||||
eabuf, easize);
|
eabuf, easize);
|
||||||
/* No right to access EAs or EAs not supported? */
|
/* No right to access EAs or EAs not supported? */
|
||||||
if (status == STATUS_ACCESS_DENIED || status == STATUS_EAS_NOT_SUPPORTED
|
if (status == STATUS_ACCESS_DENIED || status == STATUS_EAS_NOT_SUPPORTED
|
||||||
|
|| status == STATUS_NOT_SUPPORTED
|
||||||
/* Or a bug in Samba 3.2.x (x <= 7) when accessing a share's root dir
|
/* Or a bug in Samba 3.2.x (x <= 7) when accessing a share's root dir
|
||||||
which has EAs enabled? */
|
which has EAs enabled? */
|
||||||
|| status == STATUS_INVALID_PARAMETER)
|
|| status == STATUS_INVALID_PARAMETER)
|
||||||
@ -2217,7 +2218,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
|
|||||||
no_ea = true;
|
no_ea = true;
|
||||||
/* If EAs are not supported, there's no sense to check them again
|
/* If EAs are not supported, there's no sense to check them again
|
||||||
with suffixes attached. So we set eabuf/easize to 0 here once. */
|
with suffixes attached. So we set eabuf/easize to 0 here once. */
|
||||||
if (status == STATUS_EAS_NOT_SUPPORTED)
|
if (status == STATUS_EAS_NOT_SUPPORTED
|
||||||
|
|| status == STATUS_NOT_SUPPORTED)
|
||||||
{
|
{
|
||||||
eabuf = NULL;
|
eabuf = NULL;
|
||||||
easize = 0;
|
easize = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user