VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: David Howells <dhowells@redhat.com> 2020-10-15 09:02:25 +0100 committer: David Howells <dhowells@redhat.com> 2020-10-16 14:39:34 +0100 commit: 7530d3eb3dcf1a30750e8e7f1f88b782b96b72b8 parent: dca54a7bbb8ca9148ae10d60c66c926e222a9c4b
Commit Summary:
afs: Don't assert on unpurgeable server records
Diffstat:
1 file changed, 6 insertions, 1 deletion
diff --git a/fs/afs/server.c b/fs/afs/server.c
index e82e452e2612..684a2b02b9ff 100644
--- a/fs/afs/server.c
+++ b/fs/afs/server.c
@@ -550,7 +550,12 @@ void afs_manage_servers(struct work_struct *work)
 
 		_debug("manage %pU %u", &server->uuid, active);
 
-		ASSERTIFCMP(purging, active, ==, 0);
+		if (purging) {
+			trace_afs_server(server, atomic_read(&server->ref),
+					 active, afs_server_trace_purging);
+			if (active != 0)
+				pr_notice("Can't purge s=%08x\n", server->debug_id);
+		}
 
 		if (active == 0) {
 			time64_t expire_at = server->unuse_time;