Merge pull request #943 from gaul/hard-link

Return not supported when hard linking
This commit is contained in:
Takeshi Nakatani 2019-02-03 12:45:21 +09:00 committed by GitHub
commit ae51556d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1550,7 +1550,7 @@ static int s3fs_rename(const char* from, const char* to)
static int s3fs_link(const char* from, const char* to) static int s3fs_link(const char* from, const char* to)
{ {
S3FS_PRN_INFO("[from=%s][to=%s]", from, to); S3FS_PRN_INFO("[from=%s][to=%s]", from, to);
return -EPERM; return -ENOTSUP;
} }
static int s3fs_chmod(const char* path, mode_t mode) static int s3fs_chmod(const char* path, mode_t mode)