mirror of
https://github.com/schoebel/mars
synced 2025-02-06 15:24:38 +00:00
infra: accept any symlinks for later network transfer
This commit is contained in:
parent
e77f856d86
commit
c48cb7580d
@ -1534,7 +1534,13 @@ int mars_filler(void *__buf, const char *name, int namlen, loff_t offset,
|
||||
&prefix,
|
||||
&serial,
|
||||
&use_channel);
|
||||
if (class < 0)
|
||||
|
||||
/* For some_ordered network transfers, always
|
||||
* accept symlinks.
|
||||
*/
|
||||
if (class < 0 &&
|
||||
(!cookie->some_ordered ||
|
||||
d_type != DT_LNK))
|
||||
return 0;
|
||||
|
||||
pathlen = strlen(cookie->path);
|
||||
|
Loading…
Reference in New Issue
Block a user