]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sunrpc: remove dfprintk_cont() and dfprintk_rcu_cont()
authorJeff Layton <jlayton@kernel.org>
Fri, 22 Aug 2025 13:19:22 +0000 (09:19 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 23 Sep 2025 17:28:19 +0000 (13:28 -0400)
commit9082aae154be2d9e208b56e249cb886612f7c6cf
treef939499d1c7ff6033b018a4510696e548577b964
parent64dd8022245038109826c0e2a778f16618d88600
sunrpc: remove dfprintk_cont() and dfprintk_rcu_cont()

KERN_CONT hails from a simpler time, when SMP wasn't the norm. These
days, it doesn't quite work right since another printk() can always race
in between the first one and the one being "continued".

Nothing calls dprintk_rcu_cont(), so just remove it. The only caller of
dprintk_cont() is in nfs_commit_release_pages(). Just use a normal
dprintk() there instead, since this is not SMP-safe anyway.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/write.c
include/linux/sunrpc/debug.h