hulk inclusion category: bugfix bugzilla: https://atomgit.com/src-openeuler/kernel/issues/13283 ------------------ Since 12d56ed485e4 has remove FAROUND event in MFS, so we remove the FAROUND event listening in mfsd demo. Fixes: bfa1ad801c5d ("mfs: Add basic cache framework: check method and control structure") Signed-off-by: Hongbo Li <lihongbo22@huawei.com> --- tools/mfs/mfsd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/mfs/mfsd.c b/tools/mfs/mfsd.c index 865b765c31ed..d9018a7e2dbe 100644 --- a/tools/mfs/mfsd.c +++ b/tools/mfs/mfsd.c @@ -109,8 +109,7 @@ static int process_req(int fd) pr_err("invalid message length, read:%d, need:%d\n", ret, msg->len); return -1; } - if (msg->opcode == MFS_OP_READ || msg->opcode == MFS_OP_FAULT || - msg->opcode == MFS_OP_FAROUND) { + if (msg->opcode == MFS_OP_READ || msg->opcode == MFS_OP_FAULT) { return process_read(msg); } pr_err("invalid opcode:%d\n", msg->opcode); -- 2.34.1