Skip to content

Commit dc3112b

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 05da7f0 commit dc3112b

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
@@ -630,7 +630,7 @@ static void scoutfs_server_commit_func(struct work_struct *work)
630630
ret = scoutfs_alloc_empty_list(sb, &server->alloc, &server->wri,
631631
server->meta_freed,
632632
server->other_freed);
633-
if (ret) {
633+
if (ret && ret != -ENOLINK) {
634634
scoutfs_err(sb, "server error emptying freed: %d", ret);
635635
goto out;
636636
}

0 commit comments

Comments
 (0)