Add process name and pid to locks warning
authorAndi Kleen <ak@linux.intel.com>
Fri, 18 Nov 2022 23:43:57 +0000 (15:43 -0800)
committerJeff Layton <jlayton@kernel.org>
Wed, 30 Nov 2022 10:08:10 +0000 (05:08 -0500)
commitf2f2494c8aa3cc317572c4674ef256005ebc092b
treeaec5b73f0ad8f703cbcb4a1c70a59b14101872f6
parent77c67530e1f95ac25c7075635f32f04367380894
Add process name and pid to locks warning

It's fairly useless to complain about using an obsolete feature without
telling the user which process used it. My Fedora desktop randomly drops
this message, but I would really need this patch to figure out what
triggers is.

[ jlayton: print pid as well as process name ]

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/locks.c