Skip to content

Commit

Permalink
fix review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SvartMetal committed Jan 19, 2025
1 parent cb82180 commit d7578a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions cloud/filestore/libs/vfs_fuse/fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int ReplyError(

int res = fuse_reply_err(req, errorCode);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_err failed with code " << res);
}

Expand Down Expand Up @@ -84,7 +84,7 @@ int ReplyEntry(

int res = fuse_reply_entry(req, e);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_entry failed with code " << res);
}

Expand Down Expand Up @@ -117,7 +117,7 @@ int ReplyCreate(

int res = fuse_reply_create(req, e, fi);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_create failed with code " << res);
}

Expand Down Expand Up @@ -150,7 +150,7 @@ int ReplyAttr(

int res = fuse_reply_attr(req, attr, attr_timeout);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_attr failed with code " << res);
}

Expand Down Expand Up @@ -182,7 +182,7 @@ int ReplyReadLink(

int res = fuse_reply_readlink(req, link);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_readlink failed with code " << res);
}

Expand Down Expand Up @@ -214,7 +214,7 @@ int ReplyOpen(

int res = fuse_reply_open(req, fi);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_open failed with code " << res);
}

Expand Down Expand Up @@ -246,7 +246,7 @@ int ReplyWrite(

int res = fuse_reply_write(req, count);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_write failed with code " << res);
}

Expand Down Expand Up @@ -279,7 +279,7 @@ int ReplyBuf(

int res = fuse_reply_buf(req, buf, size);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_buf failed with code " << res);
}

Expand Down Expand Up @@ -311,7 +311,7 @@ int ReplyStatFs(

int res = fuse_reply_statfs(req, stbuf);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_statfs failed with code " << res);
}

Expand Down Expand Up @@ -343,7 +343,7 @@ int ReplyXAttr(

int res = fuse_reply_xattr(req, count);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_xattr failed with code " << res);
}

Expand Down Expand Up @@ -375,7 +375,7 @@ int ReplyLock(

int res = fuse_reply_lock(req, lock);
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_reply_lock failed with code " << res);
}

Expand Down Expand Up @@ -407,7 +407,7 @@ void CancelRequest(
req,
static_cast<fuse_cancelation_code>(callContext.CancellationCode));
if (res != 0) {
STORAGE_LOG(TLOG_WARNING, callContext.LogString()
STORAGE_WARN(callContext.LogString()
<< " fuse_cancel_request failed with code " << res)
}

Expand Down
2 changes: 1 addition & 1 deletion cloud/filestore/libs/vfs_fuse/loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class TCompletionQueue final

STORAGE_INFO(
"[f:%s] StopAsync: completing left: %ld, requests left: %u, "
"fuse cancelation code: %u",
"fuse cancellation code: %u",
FileSystemId.c_str(),
completingCount,
requestsSize,
Expand Down

0 comments on commit d7578a3

Please sign in to comment.