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)
|
WTF8_ENCODE(path)
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
FUSE_CTX_DBG("[path=%s]", path);
|
||||||
|
#else
|
||||||
FUSE_CTX_INFO("[path=%s]", path);
|
FUSE_CTX_INFO("[path=%s]", path);
|
||||||
|
#endif
|
||||||
|
|
||||||
// check parent directory attribute.
|
// check parent directory attribute.
|
||||||
if(0 != (result = check_parent_object_access(path, X_OK))){
|
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)
|
static int s3fs_getxattr(const char* path, const char* name, char* value, size_t size)
|
||||||
#endif
|
#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);
|
FUSE_CTX_INFO("[path=%s][name=%s][value=%p][size=%zu]", path, name, value, size);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!path || !name){
|
if(!path || !name){
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
Loading…
Reference in New Issue