mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
Suppress some message levels on macos
This commit is contained in:
parent
a3964b3fcd
commit
7b5111c955
@ -1035,7 +1035,11 @@ static int s3fs_getattr(const char* _path, struct stat* stbuf)
|
||||
WTF8_ENCODE(path)
|
||||
int result;
|
||||
|
||||
#if defined(__APPLE__)
|
||||
FUSE_CTX_DBG("[path=%s]", path);
|
||||
#else
|
||||
FUSE_CTX_INFO("[path=%s]", path);
|
||||
#endif
|
||||
|
||||
// check parent directory attribute.
|
||||
if(0 != (result = check_parent_object_access(path, X_OK))){
|
||||
@ -3956,7 +3960,11 @@ static int s3fs_getxattr(const char* path, const char* name, char* value, size_t
|
||||
static int s3fs_getxattr(const char* path, const char* name, char* value, size_t size)
|
||||
#endif
|
||||
{
|
||||
#if defined(__APPLE__)
|
||||
FUSE_CTX_DBG("[path=%s][name=%s][value=%p][size=%zu]", path, name, value, size);
|
||||
#else
|
||||
FUSE_CTX_INFO("[path=%s][name=%s][value=%p][size=%zu]", path, name, value, size);
|
||||
#endif
|
||||
|
||||
if(!path || !name){
|
||||
return -EIO;
|
||||
|
Loading…
Reference in New Issue
Block a user