Skip to content

Commit 9dfd020

Browse files
committed
Suppress another forced shutdown error message
The "server error emptying freed" error was causing a fence-and-reclaim test failure. In this case, the error was -ENOLINK, which we should ignore for messaging purposes. Signed-off-by: Chris Kirby <ckirby@versity.com>
1 parent b45620f commit 9dfd020

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kmod/src/server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ static void scoutfs_server_commit_func(struct work_struct *work)
638638
ret = scoutfs_alloc_empty_list(sb, &server->alloc, &server->wri,
639639
server->meta_freed,
640640
server->other_freed);
641-
if (ret) {
641+
if (ret && ret != -ENOLINK) {
642642
scoutfs_err(sb, "server error emptying freed: %d", ret);
643643
goto out;
644644
}

0 commit comments

Comments
 (0)