summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cgroup-v1.c
diff options
context:
space:
mode:
authorDavid Howells2018-11-02 00:07:26 +0100
committerAl Viro2019-02-28 09:29:38 +0100
commit06a2ae56b5b88fa57cd56e0b99bd874135efdf58 (patch)
treed6fdcf9c7832198c307cce9242ef306ba20b5d8b /kernel/cgroup/cgroup-v1.c
parentvfs: Implement logging through fs_context (diff)
downloadkernel-qcow2-linux-06a2ae56b5b88fa57cd56e0b99bd874135efdf58.tar.gz
kernel-qcow2-linux-06a2ae56b5b88fa57cd56e0b99bd874135efdf58.tar.xz
kernel-qcow2-linux-06a2ae56b5b88fa57cd56e0b99bd874135efdf58.zip
vfs: Add some logging to the core users of the fs_context log
Add some logging to the core users of the fs_context log so that information can be extracted from them as to the reason for failure. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/cgroup/cgroup-v1.c')
-rw-r--r--kernel/cgroup/cgroup-v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index 571ef3447426..c126b34fd4ff 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -17,7 +17,7 @@
#include <trace/events/cgroup.h>
-#define cg_invalf(fc, fmt, ...) ({ pr_err(fmt, ## __VA_ARGS__); -EINVAL; })
+#define cg_invalf(fc, fmt, ...) invalf(fc, fmt, ## __VA_ARGS__)
/*
* pidlists linger the following amount before being destroyed. The goal